Переход на версию 0.3: изменение подхода к именованию сущностей, добавление, изменение и удаление ряда функций
This commit is contained in:
parent
d33daf4e2d
commit
f7e41645fe
87 changed files with 4580 additions and 4051 deletions
|
|
@ -3,65 +3,59 @@
|
|||
|
||||
// !================= Radians ==================! //
|
||||
|
||||
extern inline float bgc_radians_to_degrees_fp32(const float radians);
|
||||
extern inline double bgc_radians_to_degrees_fp64(const double radians);
|
||||
extern inline float bgc_fp32_radians_to_degrees(const float radians);
|
||||
extern inline double bgc_fp64_radians_to_degrees(const double radians);
|
||||
|
||||
extern inline float bgc_radians_to_turns_fp32(const float radians);
|
||||
extern inline double bgc_radians_to_turns_fp64(const double radians);
|
||||
extern inline float bgc_fp32_radians_to_turns(const float radians);
|
||||
extern inline double bgc_fp64_radians_to_turns(const double radians);
|
||||
|
||||
extern inline float bgc_radians_to_units_fp32(const float radians, const BgcAngleUnitEnum to_unit);
|
||||
extern inline double bgc_radians_to_units_fp64(const double radians, const BgcAngleUnitEnum to_unit);
|
||||
extern inline float bgc_fp32_radians_to_units(const float radians, const int angle_unit);
|
||||
extern inline double bgc_fp64_radians_to_units(const double radians, const int angle_unit);
|
||||
|
||||
extern inline float bgc_radians_normalize_fp32(const float radians, const BgcAngleRangeEnum range);
|
||||
extern inline double bgc_radians_normalize_fp64(const double radians, const BgcAngleRangeEnum range);
|
||||
extern inline float bgc_fp32_normalize_radians(const float radians, const int angle_range);
|
||||
extern inline double bgc_fp64_normalize_radians(const double radians, const int angle_range);
|
||||
|
||||
// !================= Degrees ==================! //
|
||||
|
||||
extern inline float bgc_degrees_to_radians_fp32(const float degrees);
|
||||
extern inline double bgc_degrees_to_radians_fp64(const double degrees);
|
||||
extern inline float bgc_fp32_degrees_to_radians(const float degrees);
|
||||
extern inline double bgc_fp64_degrees_to_radians(const double degrees);
|
||||
|
||||
extern inline float bgc_degrees_to_turns_fp32(const float radians);
|
||||
extern inline double bgc_degrees_to_turns_fp64(const double radians);
|
||||
extern inline float bgc_fp32_degrees_to_turns(const float radians);
|
||||
extern inline double bgc_fp64_degrees_to_turns(const double radians);
|
||||
|
||||
extern inline float bgc_degrees_to_units_fp32(const float degrees, const BgcAngleUnitEnum to_unit);
|
||||
extern inline double bgc_degrees_to_units_fp64(const double degrees, const BgcAngleUnitEnum to_unit);
|
||||
extern inline float bgc_fp32_degrees_to_units(const float degrees, const int angle_unit);
|
||||
extern inline double bgc_fp64_degrees_to_units(const double degrees, const int angle_unit);
|
||||
|
||||
extern inline float bgc_degrees_normalize_fp32(const float degrees, const BgcAngleRangeEnum range);
|
||||
extern inline double bgc_degrees_normalize_fp64(const double degrees, const BgcAngleRangeEnum range);
|
||||
extern inline float bgc_fp32_normalize_degrees(const float degrees, const int angle_range);
|
||||
extern inline double bgc_fp64_degrees_normalize(const double degrees, const int angle_range);
|
||||
|
||||
// !================== Turns ===================! //
|
||||
|
||||
extern inline float bgc_turns_to_radians_fp32(const float turns);
|
||||
extern inline double bgc_turns_to_radians_fp64(const double turns);
|
||||
extern inline float bgc_fp32_turns_to_radians(const float turns);
|
||||
extern inline double bgc_fp64_turns_to_radians(const double turns);
|
||||
|
||||
extern inline float bgc_turns_to_degrees_fp32(const float turns);
|
||||
extern inline double bgc_turns_to_degrees_fp64(const double turns);
|
||||
extern inline float bgc_fp32_turns_to_degrees(const float turns);
|
||||
extern inline double bgc_fp64_turns_to_degrees(const double turns);
|
||||
|
||||
extern inline float bgc_turns_to_units_fp32(const float turns, const BgcAngleUnitEnum to_unit);
|
||||
extern inline double bgc_turns_to_units_fp64(const double turns, const BgcAngleUnitEnum to_unit);
|
||||
extern inline float bgc_fp32_turns_to_units(const float turns, const int angle_unit);
|
||||
extern inline double bgc_fp64_turns_to_units(const double turns, const int angle_unit);
|
||||
|
||||
extern inline float bgc_turns_normalize_fp32(const float turns, const BgcAngleRangeEnum range);
|
||||
extern inline double bgc_turns_normalize_fp64(const double turns, const BgcAngleRangeEnum range);
|
||||
extern inline float bgc_fp32_normalize_turns(const float turns, const int angle_range);
|
||||
extern inline double bgc_fp64_normalize_turns(const double turns, const int angle_range);
|
||||
|
||||
// !================== Angle ===================! //
|
||||
|
||||
extern inline float bgc_angle_to_radians_fp32(const float angle, const BgcAngleUnitEnum unit);
|
||||
extern inline double bgc_angle_to_radians_fp64(const double angle, const BgcAngleUnitEnum unit);
|
||||
extern inline float bgc_fp32_angle_to_radians(const float angle, const int angle_unit);
|
||||
extern inline double bgc_fp64_angle_to_radians(const double angle, const int angle_unit);
|
||||
|
||||
extern inline float bgc_angle_to_degrees_fp32(const float angle, const BgcAngleUnitEnum unit);
|
||||
extern inline double bgc_angle_to_degrees_fp64(const double angle, const BgcAngleUnitEnum unit);
|
||||
extern inline float bgc_fp32_angle_to_degrees(const float angle, const int angle_unit);
|
||||
extern inline double bgc_fp64_angle_to_degrees(const double angle, const int angle_unit);
|
||||
|
||||
extern inline float bgc_angle_to_turns_fp32(const float angle, const BgcAngleUnitEnum unit);
|
||||
extern inline double bgc_angle_to_turns_fp64(const double angle, const BgcAngleUnitEnum unit);
|
||||
extern inline float bgc_fp32_angle_to_turns(const float angle, const int angle_unit);
|
||||
extern inline double bgc_fp64_angle_to_turns(const double angle, const int angle_unit);
|
||||
|
||||
extern inline float bgc_angle_get_full_circle_fp32(const BgcAngleUnitEnum unit);
|
||||
extern inline double bgc_angle_get_full_circle_fp64(const BgcAngleUnitEnum unit);
|
||||
extern inline float bgc_fp32_full_circle(const int angle_unit);
|
||||
extern inline double bgc_fp64_full_circle(const int angle_unit);
|
||||
|
||||
extern inline float bgc_angle_get_half_circle_fp32(const BgcAngleUnitEnum unit);
|
||||
extern inline double bgc_angle_get_half_circle_fp64(const BgcAngleUnitEnum unit);
|
||||
|
||||
extern inline float bgc_angle_get_quater_circle_fp32(const BgcAngleUnitEnum unit);
|
||||
extern inline double bgc_angle_get_quater_circle_fp64(const BgcAngleUnitEnum unit);
|
||||
|
||||
extern inline float bgc_angle_normalize_fp32(const float angle, const BgcAngleUnitEnum unit, const BgcAngleRangeEnum range);
|
||||
extern inline double bgc_angle_normalize_fp64(const double angle, const BgcAngleUnitEnum unit, const BgcAngleRangeEnum range);
|
||||
extern inline float bgc_fp32_normalize_angle(const float angle, const int angle_unit, const int angle_range);
|
||||
extern inline double bgc_fp64_normalize_angle(const double angle, const int angle_unit, const int angle_range);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue