reset randseed in constraint solver for determinism

use BT_USE_SSE in btDbvt, defined in btScalar.h
This commit is contained in:
erwin.coumans
2009-02-11 05:44:48 +00:00
parent 6d17f63c54
commit 5698d6aed1
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ subject to the following restrictions:
#include "BulletCollision/CollisionShapes/btSphereShape.h"
#include "BulletCollision/CollisionShapes/btCompoundShape.h"
#include "BulletCollision/CollisionShapes/btUniformScalingShape.h"
#include "BulletDynamics/ConstraintSolver/btConstraintSolver.h"
#include "GL_ShapeDrawer.h"
#include "LinearMath/btQuickprof.h"
#include "LinearMath/btDefaultMotionState.h"
@@ -1311,6 +1311,7 @@ void DemoApplication::clientResetScene()
}
m_dynamicsWorld->getBroadphase()->resetPool(getDynamicsWorld()->getDispatcher());
m_dynamicsWorld->getConstraintSolver()->reset();
for ( i=0;i<copyArray.size();i++)
{