aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2DLite/World.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-02 12:46:50 +0800
committerchai <chaifix@163.com>2021-12-02 12:46:50 +0800
commitb1d4e9866de19c70174553e543e81ef4473dee6c (patch)
treefa1518ce5e6580886d8f8b4d9772474cd6f67184 /Client/Source/Phy2DLite/World.cpp
parent83fedef41f6dcea4dde010abb025b7ed647d0501 (diff)
*number -> fixed
Diffstat (limited to 'Client/Source/Phy2DLite/World.cpp')
-rw-r--r--Client/Source/Phy2DLite/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Client/Source/Phy2DLite/World.cpp b/Client/Source/Phy2DLite/World.cpp
index 8852f1f..f20be5f 100644
--- a/Client/Source/Phy2DLite/World.cpp
+++ b/Client/Source/Phy2DLite/World.cpp
@@ -71,9 +71,9 @@ void World::BroadPhase()
}
}
-void World::Step(number dt)
+void World::Step(fixed dt)
{
- number inv_dt = dt > _0 ? _1 / dt : _0;
+ fixed inv_dt = dt > _0 ? _1 / dt : _0;
// Determine overlapping bodies and update contact points.
BroadPhase();