From b1d4e9866de19c70174553e543e81ef4473dee6c Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 2 Dec 2021 12:46:50 +0800 Subject: *number -> fixed --- Client/Source/Phy2DLite/Joint.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Client/Source/Phy2DLite/Joint.h') diff --git a/Client/Source/Phy2DLite/Joint.h b/Client/Source/Phy2DLite/Joint.h index f88e287..c65bf0b 100644 --- a/Client/Source/Phy2DLite/Joint.h +++ b/Client/Source/Phy2DLite/Joint.h @@ -18,7 +18,7 @@ namespace Phy2D void Set(Body* body1, Body* body2, const Vec2& anchor); - void PreStep(number inv_dt); + void PreStep(fixed inv_dt); void ApplyImpulse(); Mat22 M; @@ -28,8 +28,8 @@ namespace Phy2D Vec2 P; // accumulated impulse Body* body1; Body* body2; - number biasFactor; - number softness; + fixed biasFactor; + fixed softness; }; } -- cgit v1.1-26-g67d0