fix compile issue (btMin requires same types, no conversion, just replace with < = combo)

This commit is contained in:
Erwin Coumans
2016-12-28 22:10:03 -08:00
parent 82995a8343
commit ac02acc2f3

View File

@@ -99,7 +99,9 @@ int main(int argc, char* argv[])
app->m_instancingRenderer->updateCamera(app->getUpAxis());
btScalar dtSec = btScalar(clock.getTimeInSeconds());
dtSec = b3Min(dtSec,0.1);
if (dtSec<0.1)
dtSec = 0.1;
example->stepSimulation(dtSec);
clock.reset();