diff options
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); |