From 663ecbbe7d923a2918f7aed17dbdcab7977469d6 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 20 Oct 2014 18:48:20 +0200 Subject: [PATCH] Fixing include guards. --- entity.hh | 4 ++-- level.hh | 4 ++-- physics.hh | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/entity.hh b/entity.hh index 88f393b..946e9c2 100644 --- a/entity.hh +++ b/entity.hh @@ -3,8 +3,6 @@ #include -#endif - class Entity { public: Entity(glm::vec3 position, glm::vec3 rotation); @@ -17,3 +15,5 @@ class Entity { glm::vec3 position; glm::vec3 rotation; }; + +#endif diff --git a/level.hh b/level.hh index e974136..55d2bf7 100644 --- a/level.hh +++ b/level.hh @@ -4,8 +4,6 @@ #include #include "entity.hh" -#endif - class Level { public: Level(std::string filePath); @@ -15,3 +13,5 @@ class Level { std::string filePath; std::vector entities; }; + +#endif diff --git a/physics.hh b/physics.hh index 139597f..3b5ce1a 100644 --- a/physics.hh +++ b/physics.hh @@ -1,2 +1,4 @@ +#ifndef PHYSICS_HH_INCLUDED +#define PHYSICS_HH_INCLUDED - +#endif