#include <Spatial.h>


| Public Member Functions | |
| Spatial () | |
| Constructs a new Spatial object at position (0, 0) and with a rotation of 0. | |
| Spatial (const Spatial ©) | |
| Copy constructs a Spatial object at the specified Spatial's location. | |
| Vector2f & | localTranslation () | 
| Get a reference to the local translation for this Spatial. | |
| const Vector2f & | localTranslation () const | 
| Get a const reference to the local translation for this Spatial. | |
| float & | localRotation () | 
| Get a reference to the local rotation for this Spatial. | |
| float | localRotation () const | 
| Get the local rotation for this Spatial. | |
This class is used as a base class for the Node type and does not usually need to be instantiated directly. It only provides transformations at the local level.
| Vector2f& Spatial::localTranslation | ( | ) |  [inline] | 
Get a reference to the local translation for this Spatial.
Note the Spatial can be modified through this reference, for example:
Spatial mySpatial; mySpatial.localTranslation().x = 5.0f; mySpatial.localTranslation() += Vector2f ( 1.0f, 1.0f );
| const Vector2f& Spatial::localTranslation | ( | ) | const  [inline] | 
| float& Spatial::localRotation | ( | ) |  [inline] | 
Get a reference to the local rotation for this Spatial.
Note the Spatial can be modified through this reference, for example:
Spatial mySpatial; mySpatial.localRotation() += 0.1f;
 1.5.5
 1.5.5