diff options
Diffstat (limited to 'Client/Source/Phy2DLite/Body.cpp')
| -rw-r--r-- | Client/Source/Phy2DLite/Body.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/Client/Source/Phy2DLite/Body.cpp b/Client/Source/Phy2DLite/Body.cpp index 993c3f8..7b1c3e3 100644 --- a/Client/Source/Phy2DLite/Body.cpp +++ b/Client/Source/Phy2DLite/Body.cpp @@ -20,7 +20,7 @@ Body::Body()      invI = _0;  } -void Body::Set(const Vec2& w, number m) +void Body::Set(const Vec2& w, fixed m)  {      position.Set(_0, _0);      rotation = _0; @@ -35,9 +35,9 @@ void Body::Set(const Vec2& w, number m)      if (mass < NUMBER_MAX)      { -        invMass = (number)_1 / mass; +        invMass = (fixed)_1 / mass;          I = mass * (width.x * width.x + width.y * width.y) / _12; -        invI = (number)_1 / I; +        invI = (fixed)_1 / I;      }      else      {  | 
