fix missing globals

This commit is contained in:
Lunkhound
2016-11-20 18:00:21 -08:00
parent 49b27f30bd
commit 4300ef45a3
2 changed files with 3 additions and 1 deletions

View File

@@ -590,6 +590,8 @@ public:
static bool gMultithreadedWorld = false; static bool gMultithreadedWorld = false;
static bool gDisplayProfileInfo = false; static bool gDisplayProfileInfo = false;
static btScalar gSliderNumThreads = 1.0f; // should be int static btScalar gSliderNumThreads = 1.0f; // should be int
static btScalar gSliderSolverIterations = 10.0f; // should be int
//////////////////////////////////// ////////////////////////////////////
CommonRigidBodyMTBase::CommonRigidBodyMTBase( struct GUIHelperInterface* helper ) CommonRigidBodyMTBase::CommonRigidBodyMTBase( struct GUIHelperInterface* helper )

View File

@@ -90,7 +90,7 @@ MultiThreadedDemo::MultiThreadedDemo(struct GUIHelperInterface* helper)
static btScalar gSliderStackRows = 8.0f; static btScalar gSliderStackRows = 8.0f;
static btScalar gSliderStackColumns = 6.0f; static btScalar gSliderStackColumns = 6.0f;
static btScalar gSliderStackHeight = 15.0f;
void MultiThreadedDemo::initPhysics() void MultiThreadedDemo::initPhysics()
{ {