pgl
PrimitiveOpenGL3Dprimitivelibrary
|
Root node of the scene graph. More...
#include <pgl.h>
Public Member Functions | |
virtual void | draw () |
Draw scene. | |
![]() | |
template<class T > | |
T * | attach (T *child) |
Add child to list of sub-objects. More... | |
Public Attributes | |
Vector3 | color |
Background color. | |
![]() | |
std::vector< Node * > | children |
Sub-objects. | |
Root node of the scene graph.
A Scene is a special Node that clears the image and starts the drawing process. It makes little sense to attach it to another Node.