more fixes, related to introduction of btMotionState, and using realtime timestep

This commit is contained in:
ejcoumans
2006-10-18 04:01:07 +00:00
parent 3a6942fb91
commit 33b3ec94f1
7 changed files with 38 additions and 18 deletions

View File

@@ -7,11 +7,13 @@ struct btDefaultMotionState : public btMotionState
btTransform m_graphicsWorldTrans;
btTransform m_centerOfMassOffset;
btTransform m_startWorldTrans;
void* m_userPointer;
btDefaultMotionState(const btTransform& startTrans,const btTransform& centerOfMassOffset = btTransform::getIdentity())
: m_graphicsWorldTrans(startTrans),
m_centerOfMassOffset(centerOfMassOffset),
m_startWorldTrans(startTrans)
m_startWorldTrans(startTrans),
m_userPointer(0)
{
}