v0.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Pages
CGUL::Angle Class Reference

Public Member Functions

 Angle (CGUL::Float32 radians)
 
 Angle (const Vector2F &direction)
 
void SetRadians (CGUL::Float32 radians)
 
CGUL::Float32 GetRadians () const
 
CGUL::Float32 GetRadiansPositive () const
 
void SetDegrees (CGUL::Float32 degrees)
 
CGUL::Float32 GetDegrees () const
 
CGUL::Float32 GetDegreesPositive () const
 
void SetDirection (const Vector2F &direction)
 
Vector2F GetDirection () const
 
void Constrain (Angle from, Angle to)
 

Static Public Member Functions

static Angle Inverse (const Angle &angle)
 
static Angle Difference (const Angle &a, const Angle &b)
 
static Angle Center (const Angle &a, const Angle &b)
 
static Angle InverseCenter (const Angle &a, const Angle &b)
 
static Angle Lerp (const Angle &from, const Angle &to, CGUL::Float32 t)
 

The documentation for this class was generated from the following files: