47 #ifdef __MESHMERIZER_H__ 48 mCollisionHull =
false;
49 #endif // __MESHMERIZER_H__ 130 return mTree->Refit(mIMesh);
bool mKeepOriginal
true => keep a copy of the original tree (debug purpose)
#define null
our own NULL pointer
OPCODECREATE()
Constructor.
bool CreateTree(bool no_leaf, bool quantized)
bool mCanRemap
true => allows OPCODE to reorganize client arrays
bool mQuantized
true => quantize the tree (else use a normal tree)
Splatter primitive centers (QuickCD-style)
udword mRules
Building/Splitting rules (a combination of SplittingRules flags)
#define DELETESINGLE(x)
Deletes an instance of a class.
Compressed/uncompressed tree.
bool mNoLeaf
true => discard leaf nodes (else use a normal tree)
Split at geometric center (else split in the middle)
udword mLimit
Limit number of primitives / node. If limit is 1, build a complete tree (2*N-1 nodes) ...
MeshInterface * mIMesh
Mesh interface (access to triangles & vertices) (*)
BuildSettings mSettings
Builder's settings.