From 4300ef45a37ead1071f6c7e80631d136b00101cc Mon Sep 17 00:00:00 2001 From: Lunkhound Date: Sun, 20 Nov 2016 18:00:21 -0800 Subject: [PATCH] fix missing globals --- examples/MultiThreadedDemo/CommonRigidBodyMTBase.cpp | 2 ++ examples/MultiThreadedDemo/MultiThreadedDemo.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/MultiThreadedDemo/CommonRigidBodyMTBase.cpp b/examples/MultiThreadedDemo/CommonRigidBodyMTBase.cpp index 0e9e6c5b3..8375489ee 100644 --- a/examples/MultiThreadedDemo/CommonRigidBodyMTBase.cpp +++ b/examples/MultiThreadedDemo/CommonRigidBodyMTBase.cpp @@ -590,6 +590,8 @@ public: static bool gMultithreadedWorld = false; static bool gDisplayProfileInfo = false; static btScalar gSliderNumThreads = 1.0f; // should be int +static btScalar gSliderSolverIterations = 10.0f; // should be int + //////////////////////////////////// CommonRigidBodyMTBase::CommonRigidBodyMTBase( struct GUIHelperInterface* helper ) diff --git a/examples/MultiThreadedDemo/MultiThreadedDemo.cpp b/examples/MultiThreadedDemo/MultiThreadedDemo.cpp index bb6c8a8b6..4a88207c6 100644 --- a/examples/MultiThreadedDemo/MultiThreadedDemo.cpp +++ b/examples/MultiThreadedDemo/MultiThreadedDemo.cpp @@ -90,7 +90,7 @@ MultiThreadedDemo::MultiThreadedDemo(struct GUIHelperInterface* helper) static btScalar gSliderStackRows = 8.0f; static btScalar gSliderStackColumns = 6.0f; - +static btScalar gSliderStackHeight = 15.0f; void MultiThreadedDemo::initPhysics() {