Rotation.
More...
#include <b2Math.h>
Rotation.
Definition at line 298 of file b2Math.h.
Initialize from an angle in radians.
TODO_ERIN optimize
Definition at line 303 of file b2Math.h.
Get the angle in radians.
Definition at line 326 of file b2Math.h.
b2Vec2 b2Rot::GetXAxis |
( |
| ) |
const |
|
inline |
Get the x-axis.
Definition at line 332 of file b2Math.h.
b2Vec2 b2Rot::GetYAxis |
( |
| ) |
const |
|
inline |
Get the u-axis.
Definition at line 338 of file b2Math.h.
Set using an angle in radians.
TODO_ERIN optimize
Definition at line 311 of file b2Math.h.
void b2Rot::SetIdentity |
( |
| ) |
|
|
inline |
Set to the identity rotation.
Definition at line 319 of file b2Math.h.
Sine and cosine.
Definition at line 344 of file b2Math.h.
The documentation for this struct was generated from the following file: