20 #ifndef __OPC_VOLUMECOLLIDER_H__ 21 #define __OPC_VOLUMECOLLIDER_H__ 48 inline_ udword GetNbTouchedPrimitives()
const {
return mTouchedPrimitives ? mTouchedPrimitives->GetNbEntries() : 0; }
58 inline_ const udword* GetTouchedPrimitives()
const {
return mTouchedPrimitives ? mTouchedPrimitives->GetEntries() :
null; }
69 inline_ udword GetNbVolumeBVTests()
const {
return mNbVolumeBVTests; }
78 inline_ udword GetNbVolumePrimTests()
const {
return mNbVolumePrimTests; }
115 mNbVolumeBVTests = 0;
116 mNbVolumePrimTests = 0;
123 if(cache.
Model!=mCurrentModel)
138 #endif // __OPC_VOLUMECOLLIDER_H__
udword mNbVolumePrimTests
Number of Volume-Primitive tests.
#define null
our own NULL pointer
inline_ BOOL IsCacheValid(VolumeCache &cache)
const BaseModel * Model
Owner.
virtual inline_ void InitQuery()
int BOOL
Another boolean type.
unsigned int udword
sizeof(udword) must be 4
const BaseModel * mCurrentModel
Current model for collision query (owner of touched faces)
virtual const char * ValidateSettings()=0
udword mNbVolumeBVTests
Number of Volume-BV tests.
Container * mTouchedPrimitives
List of touched primitives.
Container TouchedPrimitives
Indices of touched primitives.