|
| bool | approximately_equal_to (float input, float near_to, float tolerance=0.0002f) |
| |
| bool | approximately_equal_to (double input, double near_to, double tolerance=0.0002) |
| |
| bool | approximately_equal_to (long double input, long double near_to, long double tolerance=0.0002l) |
| |
| int | three_way_compare (float left, float right, float tolerance=0.0002f) |
| |
| int | three_way_compare (double left, double right, double tolerance=0.0002) |
| |
| int | three_way_compare (long double left, long double right, long double tolerance=0.0002l) |
| |
| template<std::floating_point T> |
| constexpr T | DegreesToRadians (T degrees) |
| | Convert degrees to radians.
|
| |
| template<std::floating_point T> |
| constexpr T | RadiansToDegrees (T radians) |
| | Convert radians to degrees.
|
| |
| template<class Type > |
| constexpr Type | lerp (Type input_lower_bound, Type input_upper_bound, float percentage_zero_to_one) |
| |
| template<class Type > |
| constexpr Type | mix (Type input_lower_bound, Type input_upper_bound, float percentage_zero_to_one) |
| |
| template<class Type > |
| constexpr Type | inverse_lerp (Type input_lower_bound, Type input_upper_bound, Type value_between) |
| |
| template<class Type > |
| constexpr Type | remap (Type input_value, Type orig_range_min, Type orig_range_max, Type new_range_min, Type new_range_max) |
| |
| template<class Type > |
| constexpr const Type & | saturate (const Type &value, const Type &lower_bound, const Type &upper_bound) |
| |
| template<class Type > |
| constexpr Type | step (Type y, Type x) |
| |
| constexpr float | smoothstep (float input_value, float left_edge=0.0f, float right_edge=1.0f) |
| |
| template<class Type > |
| constexpr Type | smootherstep (Type input_value, Type left_edge, Type right_edge) |
| |
| template<class Type = float> |
| constexpr Type | smoothstep_generalized (Type input_value, Type left_edge=0, Type right_edge=1, int Order=1) |
| |
| template<class Type = float> |
| constexpr Type | inverse_smoothstep (Type input_value) |
| |
| template<class Type > |
| Type | fract (Type input) |
| |
| template<class T > |
| T | unnormalized_sinc (T radians) |
| |
| template<class T > |
| T | normalized_sinc (T radians) |
| |
|
| bool | check_if_equal (float input, float near_to, float tolerance=0.0002f) |
| |
| bool | check_if_equal (double input, double near_to, double tolerance=0.0002) |
| |
| bool | check_if_equal (long double input, long double near_to, long double tolerance=0.0002l) |
| |
|
| bool | check_if_not_equal (float input, float near_to, float tolerance=0.0002f) |
| |
| bool | check_if_not_equal (double input, double near_to, double tolerance=0.0002) |
| |
| bool | check_if_not_equal (long double input, long double near_to, long double tolerance=0.0002l) |
| |
|
| void | CHECK_IF_EQUAL (float input, float near_to, float tolerance=0.0002f) |
| |
| void | CHECK_IF_EQUAL (double input, double near_to, double tolerance=0.0002) |
| |
| void | CHECK_IF_EQUAL (long double input, long double near_to, long double tolerance=0.0002l) |
| |
|
| void | CHECK_IF_NOT_EQUAL (float input, float near_to, float tolerance=0.0002f) |
| |
| void | CHECK_IF_NOT_EQUAL (double input, double near_to, double tolerance=0.0002) |
| |
| void | CHECK_IF_NOT_EQUAL (long double input, long double near_to, long double tolerance=0.0002l) |
| |
|
| void | CHECK_IF_ZERO (float input, float tolerance=0.0002f) |
| |
| void | CHECK_IF_ZERO (double input, double tolerance=0.0002) |
| |
| void | CHECK_IF_ZERO (long double input, long double tolerance=0.0002l) |
| |
Contains Mathematical Constructs