group.h File Reference
Basic grouping node.
More...
#include <lescegra/sg/node.h>
#include <lescegra/util/list.h>
#include <lescegra/util/vertex.h>
#include <lescegra/util/frustum.h>
Include dependency graph for group.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed Description
Basic grouping node.
Function Documentation
|
|
Constructor method for LsgGroup. - Parameters:
-
| self | The instance variable |
|
|
|
Clean all children. - Parameters:
-
| self | The instance variable |
|
| void LsgGroup_update |
( |
LsgGroup * |
self, |
|
|
float |
time |
|
) |
|
|
|
|
Update all children. - Parameters:
-
| self | The instance variable |
| now | The current time |
|
|
|
Display all subnodes if they are visible within the current view frustum. - Parameters:
-
| self | The instance variable |
| frustum | The current view frustum |
|
|
|
Check for collision with all children. - Parameters:
-
| self | The instance variable |
| v | Some vertex |
| nearest | A buffer to store the nearest vertex to v that would collide with any child |
- Returns:
- 1 if v collides with at least one child, 0 otherwise
|
| void LsgGroup_destroy |
( |
LsgGroup * |
self |
) |
|
|
|
|
Destructor method for LsgGroup. - Parameters:
-
| self | The instance variable |
|