added replacement for CcdPhysicsEnvironment
This commit is contained in:
@@ -9,12 +9,20 @@
|
||||
|
||||
|
||||
btSimpleDynamicsWorld::btSimpleDynamicsWorld()
|
||||
:CollisionWorld(new CollisionDispatcher(),new SimpleBroadphase()),
|
||||
:btDynamicsWorld(new CollisionDispatcher(),new SimpleBroadphase()),
|
||||
m_constraintSolver(new SequentialImpulseConstraintSolver)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
btSimpleDynamicsWorld::btSimpleDynamicsWorld(Dispatcher* dispatcher,OverlappingPairCache* pairCache,ConstraintSolver* constraintSolver)
|
||||
:btDynamicsWorld(dispatcher,pairCache),
|
||||
m_constraintSolver(constraintSolver)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
btSimpleDynamicsWorld::~btSimpleDynamicsWorld()
|
||||
{
|
||||
delete m_constraintSolver;
|
||||
@@ -49,6 +57,8 @@ void btSimpleDynamicsWorld::stepSimulation(float timeStep)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
void btSimpleDynamicsWorld::updateAabbs()
|
||||
{
|
||||
SimdTransform predictedTrans;
|
||||
|
||||
Reference in New Issue
Block a user