mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11: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 LIGHTING_LIGHTSOLVER_HPP_
|
||||
#define LIGHTING_LIGHTSOLVER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
|
||||
|
|
@ -27,5 +26,3 @@ public:
|
|||
void remove(int x, int y, int z);
|
||||
void solve();
|
||||
};
|
||||
|
||||
#endif // LIGHTING_LIGHTSOLVER_HPP_
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
#ifndef LIGHTING_LIGHTING_HPP_
|
||||
#define LIGHTING_LIGHTING_HPP_
|
||||
|
||||
#pragma once
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class Content;
|
||||
|
|
@ -27,5 +25,3 @@ public:
|
|||
|
||||
static void prebuildSkyLight(Chunk* chunk, const ContentIndices* indices);
|
||||
};
|
||||
|
||||
#endif /* LIGHTING_LIGHTING_HPP_ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef LIGHTING_LIGHTMAP_HPP_
|
||||
#define LIGHTING_LIGHTMAP_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "constants.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
|
@ -86,5 +85,3 @@ public:
|
|||
std::unique_ptr<ubyte[]> encode() const;
|
||||
static std::unique_ptr<light_t[]> decode(const ubyte* buffer);
|
||||
};
|
||||
|
||||
#endif // LIGHTING_LIGHTMAP_HPP_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue