![]() |
Public API Reference |
![]() |
This structure keeps track of solid space. More...
#include <csgeom/solidspace.h>
Public Member Functions | |
void | AddClosedObject (iTriangleMesh *object) |
Add a closed object as solid space. | |
csSolidSpace (const csBox3 &bbox, const csVector3 &minsize) | |
Create a solid space for the given box and minimum node size. |
This structure keeps track of solid space.
Basically it represents a 3 dimensional sparse bit array which is 1 where space is solid and 0 where not.
Definition at line 40 of file solidspace.h.
csSolidSpace::csSolidSpace | ( | const csBox3 & | bbox, |
const csVector3 & | minsize | ||
) |
Create a solid space for the given box and minimum node size.
void csSolidSpace::AddClosedObject | ( | iTriangleMesh * | object | ) |
Add a closed object as solid space.
This polygon mesh must be closed. This function will not check for that.