#include <node.h>
Collaboration diagram for LsgNode:

Data Fields | |
| LsgObject | super |
| LsgBBox * | bbox |
| int | dirty |
| void(* | clean )(LsgNode *self) |
| void(* | update )(LsgNode *self, float now) |
| void(* | display )(LsgNode *self, LsgFrustum *frustum) |
| int(* | collide )(LsgNode *self, Vertex v, Vertex nearest) |
Abstract base class for the scene graph class hierarchy.
|
|
Flag to indicate a changed boundig box. Parents should check this flag after calling update and update their own bounding boxes if necessary. |
|
|
Mark this node as having any changes processed. Call after running update to ensure later calls to update don't have process to reevaluate unchanged nodes.
|
|
|
Update this node to accommodate to passingtime.
|
|
|
Display this node.
|
|
|
Check for collision and calculate nearest vertex if asked for.
|