ScummVM API documentation
hpl::cCollideShapeNewton Class Reference
Inheritance diagram for hpl::cCollideShapeNewton:
hpl::iCollideShape

Public Member Functions

 cCollideShapeNewton (eCollideShapeType aType, const cVector3f &avSize, cMatrixf *apOffsetMtx, NewtonWorld *apNewtonWorld, iPhysicsWorld *apWorld)
 
iCollideShapeGetSubShape (int alIdx)
 
int GetSubShapeNum ()
 
cVector3f GetInertia (float afMass)
 
void CreateFromShapeVec (tCollideShapeVec &avShapes)
 
void CreateFromVertices (const unsigned int *apIndexArray, int alIndexNum, const float *apVertexArray, int alVtxStride, int alVtxNum)
 
NewtonCollision * GetNewtonCollision ()
 
- Public Member Functions inherited from hpl::iCollideShape
 iCollideShape (iPhysicsWorld *apWorld)
 
cVector3f GetSize ()
 
float GetRadius ()
 
float GetHeight ()
 
float GetWidth ()
 
float GetDepth ()
 
const cMatrixfGetOffset ()
 
eCollideShapeType GetType ()
 
void IncUserCount ()
 
void DecUserCount ()
 
bool HasUsers ()
 
int GetUserCount ()
 
float GetVolume ()
 
cBoundingVolumeGetBoundingVolume ()
 

Additional Inherited Members

- Protected Attributes inherited from hpl::iCollideShape
cVector3f mvSize
 
eCollideShapeType mType
 
cMatrixf m_mtxOffset
 
int mlUserCount
 
iPhysicsWorldmpWorld
 
float mfVolume
 
cBoundingVolume mBoundingVolume
 

The documentation for this class was generated from the following file: