mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
replace include guards with pragma once
This commit is contained in:
parent
f43cc93cd2
commit
de5c75d782
164 changed files with 166 additions and 656 deletions
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue