aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2DLite/Joint.h
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/Joint.h
parent83fedef41f6dcea4dde010abb025b7ed647d0501 (diff)
*number -> fixed
Diffstat (limited to 'Client/Source/Phy2DLite/Joint.h')
-rw-r--r--Client/Source/Phy2DLite/Joint.h6
1 files changed, 3 insertions, 3 deletions
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;
};
}