aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2D/Dynamic/Body.h
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Source/Phy2D/Dynamic/Body.h')
-rw-r--r--Client/Source/Phy2D/Dynamic/Body.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/Client/Source/Phy2D/Dynamic/Body.h b/Client/Source/Phy2D/Dynamic/Body.h
deleted file mode 100644
index 8c2ac72..0000000
--- a/Client/Source/Phy2D/Dynamic/Body.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#pragma once
-
-#include "../Common/Math.h"
-
-namespace Phy2D
-{
-
- struct Body
- {
- Body();
- void Set(const Vec2& w, number m);
-
- void AddForce(const Vec2& f)
- {
- force += f;
- }
-
- Vec2 position;
- number rotation;
-
- Vec2 velocity;
- number angularVelocity;
-
- Vec2 force;
- number torque;
-
- Vec2 width;
-
- number friction;
- number mass, invMass;
- number I, invI;
- };
-
-} \ No newline at end of file