瀏覽代碼

* Physics

legacy
Jean-Yves Lamoureux jylam 12 年之前
父節點
當前提交
d058092983
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      test/physics/lolphysics.h

+ 1
- 0
test/physics/lolphysics.h 查看文件

@@ -115,6 +115,7 @@ public:
//the "+1" is to have at least one Timestep and to ensure float to int .5f conversion.
int steps = (int)(seconds / m_timestep) + 1;
m_dynamics_world->stepSimulation(seconds, steps, m_timestep);
printf("STEP\n");
}
}



Loading…
取消
儲存