Functionality class for a 2D rotation. More...
Public Member Functions | |
Rotatable (float rotation=0.f) | |
(Default) Constructor | |
void | SetRotation (float rotation) |
Sets the object's rotation (in degrees). | |
void | Rotate (float angle) |
Add a given angle to the object's rotation (in degrees). | |
float | GetRotation () const |
Returns the object's rotation (in degrees). |
Functionality class for a 2D rotation.
Stores a rotation angle and provides methods to access it.