aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2D/Dynamic/Body.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-02 14:44:36 +0800
committerchai <chaifix@163.com>2021-12-02 14:44:36 +0800
commitfdd228071a3112aeebda20766c7df3b20b8651aa (patch)
treeedc6e05bda6c537582235dbe110e3ed783e0e36a /Client/Source/Phy2D/Dynamic/Body.h
parentb1d4e9866de19c70174553e543e81ef4473dee6c (diff)
+Fix32
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