From 8580ab545b8a6f5f2984615d94c58e47b0810f82 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Mon, 28 Oct 2019 23:08:42 +0100 Subject: [PATCH] Fix issues --- src/systems/SolveBallAndSocketJointSystem.h | 3 ++- src/systems/SolveFixedJointSystem.h | 3 ++- src/systems/SolveHingeJointSystem.h | 3 ++- src/systems/SolveSliderJointSystem.h | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/systems/SolveBallAndSocketJointSystem.h b/src/systems/SolveBallAndSocketJointSystem.h index 64b437b7..d78d21a5 100644 --- a/src/systems/SolveBallAndSocketJointSystem.h +++ b/src/systems/SolveBallAndSocketJointSystem.h @@ -127,6 +127,8 @@ inline void SolveBallAndSocketJointSystem::setProfiler(Profiler* profiler) { mProfiler = profiler; } +#endif + // Set the time step inline void SolveBallAndSocketJointSystem::setTimeStep(decimal timeStep) { assert(timeStep > decimal(0.0)); @@ -138,7 +140,6 @@ inline void SolveBallAndSocketJointSystem::setIsWarmStartingActive(bool isWarmSt mIsWarmStartingActive = isWarmStartingActive; } -#endif } diff --git a/src/systems/SolveFixedJointSystem.h b/src/systems/SolveFixedJointSystem.h index 687efa8e..283e99cc 100644 --- a/src/systems/SolveFixedJointSystem.h +++ b/src/systems/SolveFixedJointSystem.h @@ -124,6 +124,8 @@ inline void SolveFixedJointSystem::setProfiler(Profiler* profiler) { mProfiler = profiler; } +#endif + // Set the time step inline void SolveFixedJointSystem::setTimeStep(decimal timeStep) { assert(timeStep > decimal(0.0)); @@ -135,7 +137,6 @@ inline void SolveFixedJointSystem::setIsWarmStartingActive(bool isWarmStartingAc mIsWarmStartingActive = isWarmStartingActive; } -#endif } diff --git a/src/systems/SolveHingeJointSystem.h b/src/systems/SolveHingeJointSystem.h index 60769091..e9367789 100644 --- a/src/systems/SolveHingeJointSystem.h +++ b/src/systems/SolveHingeJointSystem.h @@ -142,6 +142,8 @@ inline void SolveHingeJointSystem::setProfiler(Profiler* profiler) { mProfiler = profiler; } +#endif + // Set the time step inline void SolveHingeJointSystem::setTimeStep(decimal timeStep) { assert(timeStep > decimal(0.0)); @@ -153,7 +155,6 @@ inline void SolveHingeJointSystem::setIsWarmStartingActive(bool isWarmStartingAc mIsWarmStartingActive = isWarmStartingActive; } -#endif } diff --git a/src/systems/SolveSliderJointSystem.h b/src/systems/SolveSliderJointSystem.h index eee83036..3a26b043 100644 --- a/src/systems/SolveSliderJointSystem.h +++ b/src/systems/SolveSliderJointSystem.h @@ -128,6 +128,8 @@ inline void SolveSliderJointSystem::setProfiler(Profiler* profiler) { mProfiler = profiler; } +#endif + // Set the time step inline void SolveSliderJointSystem::setTimeStep(decimal timeStep) { assert(timeStep > decimal(0.0)); @@ -139,8 +141,6 @@ inline void SolveSliderJointSystem::setIsWarmStartingActive(bool isWarmStartingA mIsWarmStartingActive = isWarmStartingActive; } -#endif - } #endif