Bromeon
Public Member Functions
thor::Rotatable Class Reference

Functionality class for a 2D rotation. More...

Inheritance diagram for thor::Rotatable:
Inheritance graph

List of all members.

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).

Detailed Description

Functionality class for a 2D rotation.

Stores a rotation angle and provides methods to access it.


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