aboutsummaryrefslogtreecommitdiffstats
path: root/yage/physics
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-09-09 08:32:39 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-09-09 08:32:39 +0100
commit6e4681a86fc1d118571dac06ffa811a988a1066a (patch)
tree14d03aa3dbd65e91f74d041ae8203b8c7d13cdf4 /yage/physics
parent60072c1d8089ffd3294e76636198d14710be95b8 (diff)
downloadYAGE-6e4681a86fc1d118571dac06ffa811a988a1066a.tar.gz
YAGE-6e4681a86fc1d118571dac06ffa811a988a1066a.zip
Stable build
Diffstat (limited to 'yage/physics')
-rw-r--r--yage/physics/body.cpp2
-rw-r--r--yage/physics/body.h4
-rw-r--r--yage/physics/particlebody.cpp2
-rw-r--r--yage/physics/particlebody.h2
-rw-r--r--yage/physics/rectanglecollider.cpp2
-rw-r--r--yage/physics/rigidbody.cpp2
6 files changed, 8 insertions, 6 deletions
diff --git a/yage/physics/body.cpp b/yage/physics/body.cpp
index 8d38e70a..81d26699 100644
--- a/yage/physics/body.cpp
+++ b/yage/physics/body.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include <YAGE/Physics/body.h>
+#include <yage/physics/body.h>
#include <utility>
diff --git a/yage/physics/body.h b/yage/physics/body.h
index bd33a9ac..90682682 100644
--- a/yage/physics/body.h
+++ b/yage/physics/body.h
@@ -9,10 +9,11 @@
#ifndef YAGE_PHYSICS_BODY_H
#define YAGE_PHYSICS_BODY_H
-#include <YAGE/Math/matrix.h>
+#include <math/matrix.h>
namespace yage
{
+
class Body
{
public:
@@ -51,6 +52,7 @@ protected:
Body(Vector2d position = Vector2d(0, 0), double mass = 1,
Vector2d velocity = Vector2d(0, 0), bool gravity = false);
};
+
} // namespace yage
#endif
diff --git a/yage/physics/particlebody.cpp b/yage/physics/particlebody.cpp
index bdb81eac..3ccba546 100644
--- a/yage/physics/particlebody.cpp
+++ b/yage/physics/particlebody.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include <YAGE/Physics/particlebody.h>
+#include <yage/physics/particlebody.h>
#include <cmath>
#include <iostream>
diff --git a/yage/physics/particlebody.h b/yage/physics/particlebody.h
index a0b9bdad..18cfff0b 100644
--- a/yage/physics/particlebody.h
+++ b/yage/physics/particlebody.h
@@ -11,7 +11,7 @@
#include "body.h"
-#include <YAGE/Math/matrix.h>
+#include <yage/math/matrix.h>
namespace yage
{
diff --git a/yage/physics/rectanglecollider.cpp b/yage/physics/rectanglecollider.cpp
index 64887278..d9a1a6c1 100644
--- a/yage/physics/rectanglecollider.cpp
+++ b/yage/physics/rectanglecollider.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include <YAGE/Physics/rectanglecollider.h>
+#include <yage/physics/rectanglecollider.h>
namespace yage
{
diff --git a/yage/physics/rigidbody.cpp b/yage/physics/rigidbody.cpp
index dcab5f2f..efbef8d9 100644
--- a/yage/physics/rigidbody.cpp
+++ b/yage/physics/rigidbody.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include <YAGE/Physics/rigidbody.h>
+#include <yage/physics/rigidbody.h>
namespace yage
{