mf
Media Framework
|
Angle, represented in radiants. More...
#include <angle.h>
Public Member Functions | |
angle ()=default | |
angle (float r) | |
angle (const angle &)=default | |
const float & | get_radiants () const |
float | get_degrees () const |
void | set_radiants (float r) |
void | set_degrees (float d) |
operator float & () | |
operator const float & () const | |
angle & | operator= (float r) |
angle & | operator= (const angle &)=default |
bool | operator== (angle a) const |
bool | operator!= (angle a) const |
Static Public Member Functions | |
static angle | degrees (float d) |
static angle | radiants (float r) |
static angle | smallest_between (angle a, angle b) |
Angle, represented in radiants.
Defines I/O in degrees, and conversion. Provides unambiguity in what angles mean.
|
default |
|
inline |
|
default |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |