replace include guards with pragma once

This commit is contained in:
MihailRis
2024-08-10 01:57:59 +03:00
parent f43cc93cd2
commit de5c75d782
164 changed files with 166 additions and 656 deletions
+1 -4
View File
@@ -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 -4
View File
@@ -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_