#include <ddgecos.h>
Public Members | |||
ddgEcoBlock ( ddgEcoSystem *es, unsigned int s, ddgBBox3 *b) | |||
Constructor. | |||
bool | init ( ddgEcoSystem *e) | ||
Initialize the EcoBlock. | |||
ddgInside | vis ( ddgCHull3 *frustrum, ddgVector2 pos ) | ||
Calculate and return the visibility state of this block. | |||
ddgInside | vis ( void ) | ||
Return the visibility state of this block. | |||
unsigned int | size (void) | ||
Return the number of objects in this block. | |||
ddgVector3 | osize (void) | ||
Return the 3D size of objects in this block. | |||
ddgBBox3* | bbox | ||
Bounding box for this block where object can occur in the world. | |||
ddgVector3* | pos | ||
Tree locations. |
These objects are managed by the ecosystem object.