#include <group.h>
Collaboration diagram for LsgGroup:

Data Fields | |
| LsgNode | super |
| LsgList * | children |
Related Functions | |
| (Note that these are not member functions.) | |
| LsgGroup * | LsgGroup_create (void) |
| void | LsgGroup_init (LsgGroup *self) |
| void | LsgGroup_clean (LsgGroup *self) |
| void | LsgGroup_update (LsgGroup *self, float time) |
| void | LsgGroup_display (LsgGroup *self, LsgFrustum *frustum) |
| int | LsgGroup_collide (LsgGroup *self, Vertex v, Vertex nearest) |
| void | LsgGroup_destroy (LsgGroup *self) |
The junction base class for the scene graph. Allows grouping of nodes and thereby hierarchical view frustum culling and collision detection.
|
|
Allocate and initialize a new LsgGroup.
|
|
|
Constructor method for LsgGroup.
|
|
|
Clean all children.
|
|
||||||||||||
|
Update all children.
|
|
||||||||||||
|
Display all subnodes if they are visible within the current view frustum.
|
|
||||||||||||||||
|
Check for collision with all children.
|
|
|
Destructor method for LsgGroup.
|