From 83fedef41f6dcea4dde010abb025b7ed647d0501 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 2 Dec 2021 12:43:19 +0800 Subject: *fix --- Client/Source/Phy2DLite/Joint.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Client/Source/Phy2DLite/Joint.h') 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); -- cgit v1.1-26-g67d0