Fix issues

This commit is contained in:
Daniel Chappuis 2019-10-28 23:08:42 +01:00
parent f991717cc1
commit 8580ab545b
4 changed files with 8 additions and 5 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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