aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2DLite/Body.h
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Source/Phy2DLite/Body.h')
-rw-r--r--Client/Source/Phy2DLite/Body.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Client/Source/Phy2DLite/Body.h b/Client/Source/Phy2DLite/Body.h
index 050c719..c3d746a 100644
--- a/Client/Source/Phy2DLite/Body.h
+++ b/Client/Source/Phy2DLite/Body.h
@@ -8,7 +8,7 @@ namespace Phy2D
struct Body
{
Body();
- void Set(const Vec2& w, number m);
+ void Set(const Vec2& w, fixed m);
void AddForce(const Vec2& f)
{
@@ -16,19 +16,19 @@ namespace Phy2D
}
Vec2 position;
- number rotation;
+ fixed rotation;
Vec2 velocity;
- number angularVelocity;
+ fixed angularVelocity;
Vec2 force;
- number torque;
+ fixed torque;
Vec2 width;
- number friction;
- number mass, invMass;
- number I, invI;
+ fixed friction;
+ fixed mass, invMass;
+ fixed I, invI;
};
} \ No newline at end of file