replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef PHYSICS_HITBOX_HPP_
|
||||
#define PHYSICS_HITBOX_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "maths/aabb.hpp"
|
||||
#include "typedefs.hpp"
|
||||
@@ -62,5 +61,3 @@ struct Hitbox {
|
||||
return AABB(position-halfsize, position+halfsize);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // PHYSICS_HITBOX_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef PHYSICS_PHYSICSSOLVER_HPP_
|
||||
#define PHYSICS_PHYSICSSOLVER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "Hitbox.hpp"
|
||||
|
||||
@@ -42,5 +41,3 @@ public:
|
||||
|
||||
void removeSensor(Sensor* sensor);
|
||||
};
|
||||
|
||||
#endif // PHYSICS_PHYSICSSOLVER_HPP_
|
||||
|
||||
Reference in New Issue
Block a user