Flutter Engine
The Flutter Engine
|
A structure to store the sine and cosine of an angle. More...
#include <trig.h>
Public Member Functions | |
Trig (Radians r) | |
Construct a Trig object from a given angle in radians. More... | |
Trig (double cos, double sin) | |
Construct a Trig object from the given cosine and sine values. More... | |
Vector2 | operator* (double radius) const |
Returns the corresponding point on a circle of a given |radius|. More... | |
Vector2 | operator* (const Size &ellipse_radii) const |
Returns the corresponding point on an ellipse with the given size. More... | |
Public Attributes | |
double | cos |
double | sin |
|
inlineexplicit |
|
inline |
|
inline |