6 constexpr float NI_PI =
static_cast<float>(3.1415926535897932);
12 return a_degrees * (
NI_PI / 180.0f);
17 return a_radians * (180.0f /
NI_PI);
22 float a = std::fmodf(a_radians +
NI_PI, 2 *
NI_PI);
Definition AbsorbEffect.h:6
float NiAbs(float a_value)
float normalize_angle(float a_radians)
Definition NiMath.h:20
float NiASin(float a_value)
float deg_to_rad(float a_degrees)
Definition NiMath.h:10
constexpr float NI_INFINITY
Definition NiMath.h:5
float NiFastATan2(float a_y, float a_x)
constexpr float NI_HALF_PI
Definition NiMath.h:7
float rad_to_deg(float a_radians)
Definition NiMath.h:15
constexpr float NI_TWO_PI
Definition NiMath.h:8
constexpr float NI_PI
Definition NiMath.h:6