diff options
author | chai <chaifix@163.com> | 2021-12-02 14:44:36 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-02 14:44:36 +0800 |
commit | fdd228071a3112aeebda20766c7df3b20b8651aa (patch) | |
tree | edc6e05bda6c537582235dbe110e3ed783e0e36a /Client/Source/Phy2DLite/World.cpp | |
parent | b1d4e9866de19c70174553e543e81ef4473dee6c (diff) |
+Fix32
Diffstat (limited to 'Client/Source/Phy2DLite/World.cpp')
-rw-r--r-- | Client/Source/Phy2DLite/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Client/Source/Phy2DLite/World.cpp b/Client/Source/Phy2DLite/World.cpp index f20be5f..76e57ea 100644 --- a/Client/Source/Phy2DLite/World.cpp +++ b/Client/Source/Phy2DLite/World.cpp @@ -73,7 +73,7 @@ void World::BroadPhase() void World::Step(fixed dt) { - fixed inv_dt = dt > _0 ? _1 / dt : _0; + fixed inv_dt = dt > _0 ? (fixed)_1 / dt : (fixed)_0; // Determine overlapping bodies and update contact points. BroadPhase(); |