From 6e4681a86fc1d118571dac06ffa811a988a1066a Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 9 Sep 2017 08:32:39 +0100 Subject: Stable build --- yage/physics/body.cpp | 2 +- yage/physics/body.h | 4 +++- yage/physics/particlebody.cpp | 2 +- yage/physics/particlebody.h | 2 +- yage/physics/rectanglecollider.cpp | 2 +- yage/physics/rigidbody.cpp | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) (limited to 'yage/physics') 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 +#include #include 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 +#include 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 +#include #include #include 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 +#include 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 +#include 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 +#include namespace yage { -- cgit