diff options
author | chai <chaifix@163.com> | 2021-12-02 12:43:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-02 12:43:19 +0800 |
commit | 83fedef41f6dcea4dde010abb025b7ed647d0501 (patch) | |
tree | 365e364da74872958f27693e6c1e609bf6e71e97 /Client/Source/Phy2DLite/Joint.h | |
parent | 7a798253441a8bd499d36bd8153b92ab08de8a9f (diff) |
*fix
Diffstat (limited to 'Client/Source/Phy2DLite/Joint.h')
-rw-r--r-- | Client/Source/Phy2DLite/Joint.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Client/Source/Phy2DLite/Joint.h b/Client/Source/Phy2DLite/Joint.h index 2efe876..f88e287 100644 --- a/Client/Source/Phy2DLite/Joint.h +++ b/Client/Source/Phy2DLite/Joint.h @@ -1,6 +1,7 @@ #pragma once
#include "Math.h"
+#include "Constants.h"
namespace Phy2D { @@ -11,8 +12,8 @@ namespace Phy2D { Joint() : body1(0), body2(0), - P(0.0f, 0.0f), - biasFactor(0.2f), softness(0.0f) + P(_0, _0), + biasFactor(_0_2), softness(_0) {} void Set(Body* body1, Body* body2, const Vec2& anchor); |