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 VOXELS_BLOCK_HPP_
#define VOXELS_BLOCK_HPP_
#pragma once
#include <glm/glm.hpp>
#include <optional>
@@ -217,5 +216,3 @@ public:
inline glm::ivec3 get_ground_direction(const Block& def, int rotation) {
return -def.rotations.variants[rotation].axisY;
}
#endif // VOXELS_BLOCK_HPP_