fix compile issue (btMin requires same types, no conversion, just replace with < = combo)
This commit is contained in:
@@ -96,12 +96,14 @@ int main(int argc, char* argv[])
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
app->m_instancingRenderer->init();
|
app->m_instancingRenderer->init();
|
||||||
app->m_instancingRenderer->updateCamera(app->getUpAxis());
|
app->m_instancingRenderer->updateCamera(app->getUpAxis());
|
||||||
|
|
||||||
btScalar dtSec = btScalar(clock.getTimeInSeconds());
|
btScalar dtSec = btScalar(clock.getTimeInSeconds());
|
||||||
dtSec = b3Min(dtSec,0.1);
|
if (dtSec<0.1)
|
||||||
|
dtSec = 0.1;
|
||||||
|
|
||||||
example->stepSimulation(dtSec);
|
example->stepSimulation(dtSec);
|
||||||
clock.reset();
|
clock.reset();
|
||||||
|
|
||||||
example->renderScene();
|
example->renderScene();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user