diff options
Diffstat (limited to 'yage/physics')
-rw-r--r-- | yage/physics/body.h | 5 | ||||
-rw-r--r-- | yage/physics/collider.h | 5 | ||||
-rw-r--r-- | yage/physics/collisionbody.h | 5 | ||||
-rw-r--r-- | yage/physics/particlebody.h | 5 | ||||
-rw-r--r-- | yage/physics/physics.h | 5 | ||||
-rw-r--r-- | yage/physics/rectanglecollider.h | 5 | ||||
-rw-r--r-- | yage/physics/rigidbody.h | 5 |
7 files changed, 7 insertions, 28 deletions
diff --git a/yage/physics/body.h b/yage/physics/body.h index 62173987..8e3d5e07 100644 --- a/yage/physics/body.h +++ b/yage/physics/body.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_PHYSICS_BODY_H -#define YAGE_PHYSICS_BODY_H +#pragma once #include <math/matrix.h> @@ -54,5 +53,3 @@ protected: }; } // namespace yage - -#endif diff --git a/yage/physics/collider.h b/yage/physics/collider.h index 220c785d..fe59f44b 100644 --- a/yage/physics/collider.h +++ b/yage/physics/collider.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_PHYSICS_COLLIDER_H -#define YAGE_PHYSICS_COLLIDER_H +#pragma once #include <glm/glm.hpp> @@ -39,5 +38,3 @@ public: }; } // namespace yage - -#endif diff --git a/yage/physics/collisionbody.h b/yage/physics/collisionbody.h index c779feae..e1d9e6cf 100644 --- a/yage/physics/collisionbody.h +++ b/yage/physics/collisionbody.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_COLLISION_BODY_H -#define YAGE_COLLISION_BODY_H +#pragma once #include "body.h" @@ -24,5 +23,3 @@ public: }; } // yage - -#endif diff --git a/yage/physics/particlebody.h b/yage/physics/particlebody.h index d4380695..865e7f0b 100644 --- a/yage/physics/particlebody.h +++ b/yage/physics/particlebody.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_PHYSICS_PARTICLE_BODY_H -#define YAGE_PHYSICS_PARTICLE_BODY_H +#pragma once #include "body.h" #include <math/matrix.h> @@ -28,5 +27,3 @@ public: }; } // namespace yage - -#endif diff --git a/yage/physics/physics.h b/yage/physics/physics.h index 64dcd95f..77823540 100644 --- a/yage/physics/physics.h +++ b/yage/physics/physics.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_PHYSICS_H -#define YAGE_PHYSICS_H +#pragma once #include "body.h" #include "collider.h" @@ -15,5 +14,3 @@ #include "particlebody.h" #include "rectanglecollider.h" #include "rigidbody.h" - -#endif diff --git a/yage/physics/rectanglecollider.h b/yage/physics/rectanglecollider.h index ba3bdead..c08e553b 100644 --- a/yage/physics/rectanglecollider.h +++ b/yage/physics/rectanglecollider.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_RECTANGLE_COLLIDER_H -#define YAGE_RECTANGLE_COLLIDER_H +#pragma once #include "collider.h" @@ -26,5 +25,3 @@ public: }; } // namespace yage - -#endif diff --git a/yage/physics/rigidbody.h b/yage/physics/rigidbody.h index dae9f8e5..686a13a6 100644 --- a/yage/physics/rigidbody.h +++ b/yage/physics/rigidbody.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_RIGID_BODY_H -#define YAGE_RIGID_BODY_H +#pragma once #include "particlebody.h" @@ -24,5 +23,3 @@ public: }; } // namespace yage - -#endif |