Add btScalar fixes and correct M_PI to SIMD_PI.

This commit is contained in:
Benjamin Ellenberger
2016-06-06 23:47:33 +02:00
parent 9872d2b20f
commit e46a718807
3 changed files with 7 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ void InclinedPlaneExample::initPhysics()
{ // create slider to change the ramp tilt
SliderParams slider("Ramp Tilt",&gTilt);
slider.m_minVal=0;
slider.m_maxVal=M_PI/2.0f;
slider.m_maxVal=SIMD_PI/2.0f;
slider.m_clampToNotches = false;
slider.m_callback = onRampInclinationChanged;
m_guiHelper->getParameterInterface()->registerSliderFloatParameter(slider);