本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
說明
登入
lolengine
/
lol
镜像来自
https://github.com/lolengine/lol
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
* Physics
legacy
Jean-Yves Lamoureux
jylam
12 年之前
父節點
fe5769becd
當前提交
d058092983
共有
1 個檔案被更改
,包括
1 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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");
}
}
Write
Preview
Loading…
取消
儲存