#include <transformnode.h>

Public Member Functions | |
| TransformNode (const char *id) | |
| virtual | ~TransformNode () |
| virtual void | Render () |
| void | SetTranslation (const vector2 &translation) |
| void | SetRotation (float rotation) |
| const vector2 & | GetTranslation () |
| float | GetRotation () |
Protected Types | |
| enum | TransformType { TT_TRANSLATION = (1 << 0), TT_ROTATION = (1 << 1) } |
Protected Attributes | |
| vector2 | translation |
| float | rotation |
| byte_t | flags |
enum TransformNode::TransformType [protected] |
| TransformNode::TransformNode | ( | const char * | id | ) |
Constructor.
| TransformNode::~TransformNode | ( | ) | [virtual] |
Destructor.
| void TransformNode::Render | ( | ) | [virtual] |
Apply transformation.
Reimplemented from SceneNode.
| void TransformNode::SetTranslation | ( | const vector2 & | translation | ) |
| void TransformNode::SetRotation | ( | float | rotation | ) |
| const vector2 & TransformNode::GetTranslation | ( | ) | [inline] |
| float TransformNode::GetRotation | ( | ) | [inline] |
vector2 TransformNode::translation [protected] |
float TransformNode::rotation [protected] |
byte_t TransformNode::flags [protected] |
1.5.3