Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <TransformationNode.h>
Public Member Functions | |
TransformationNode (const Vector3D &position, const Quaternion &q, RenderInterface *renderer) | |
virtual | ~TransformationNode () |
void | Process () |
Public Member Functions inherited from Ult::Node | |
Node () | |
virtual | ~Node () |
void | AddChild (Node *node) |
void | AddSibling (Node *node) |
Protected Attributes | |
Vector3D | mPosition |
Quaternion | mQuaternion |
RenderInterface * | mRenderer |
Protected Attributes inherited from Ult::Node | |
Node * | mNext |
Node * | mPrev |
Node * | mChild |
Represents a single node in a scene graph that has a transformation (position, rotation)
|
inline |
TransformationNode constructor.
|
inlinevirtual |
TransformationNode destructor.
|
inlinevirtual |
Applies this node's transformation to the renderer matrix stack, and calls process on its children, pop's the node's transformation, then finally calls process on its siblings
Reimplemented from Ult::Node.
|
protected |
|
protected |
|
protected |