|
pgl
PrimitiveOpenGL3Dprimitivelibrary
|
Root node of the scene graph. More...
#include <pgl.h>


Public Member Functions | |
| virtual void | draw () |
| Draw scene. | |
Public Member Functions inherited from pgl::Node | |
| template<class T > | |
| T * | attach (T *child) |
| Add child to list of sub-objects. More... | |
Public Attributes | |
| Vector3 | color |
| Background color. | |
Public Attributes inherited from pgl::Node | |
| 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.
1.8.13