32 #include "../api_core.h"
81 static Angle from_radians(
float value);
88 static Angle from_degrees(
float value);
95 float to_degrees()
const;
98 float to_radians()
const;
105 void set_degrees(
float value_degrees);
108 void set_radians(
float value_radians);
118 Angle &normalize_180();
125 void operator += (
const Angle &angle);
128 void operator -= (
const Angle &angle);
131 void operator *= (
const Angle &angle);
134 void operator /= (
const Angle &angle);
155 bool operator < (
const Angle &angle)
const;
158 bool operator <= (
const Angle &angle)
const;
161 bool operator > (
const Angle &angle)
const;
164 bool operator >= (
const Angle &angle)
const;
167 bool operator== (
const Angle &angle)
const;
170 bool operator!= (
const Angle &angle)
const;
Angle class.
Definition: angle.h:63
Vec2< Type > operator/(const Vec2< Type > &v1, const Vec2< Type > &v2)
/ operator.
Definition: vec2.h:314
AngleUnit
Angle unit.
Definition: angle.h:44
Vec2< Type > operator+(const Vec2< Type > &v1, const Vec2< Type > &v2)
operator.
Definition: vec2.h:278
Vec2< Type > operator*(const Vec2< Type > &v1, const Vec2< Type > &v2)
operator.
Definition: vec2.h:302
EulerOrder
Euler angle rotation order.
Definition: angle.h:51
Vec2< Type > operator-(const Vec2< Type > &v1, const Vec2< Type > &v2)
operator.
Definition: vec2.h:290