replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
|
||||
#define GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "typedefs.hpp"
|
||||
|
||||
@@ -32,5 +31,3 @@ public:
|
||||
const Content* content
|
||||
);
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPHICS_RENDER_BLOCKS_RENDERER_HPP_
|
||||
#define GRAPHICS_RENDER_BLOCKS_RENDERER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
@@ -132,5 +131,3 @@ public:
|
||||
std::shared_ptr<Mesh> createMesh();
|
||||
VoxelsVolume* getVoxelsBuffer() const;
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_RENDER_BLOCKS_RENDERER_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPHICS_RENDER_CHUNKSRENDERER_HPP_
|
||||
#define GRAPHICS_RENDER_CHUNKSRENDERER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
#include <memory>
|
||||
@@ -46,5 +45,3 @@ public:
|
||||
|
||||
void update();
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_RENDER_CHUNKSRENDERER_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPHICS_RENDER_MODEL_BATCH_HPP_
|
||||
#define GRAPHICS_RENDER_MODEL_BATCH_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "maths/UVRegion.hpp"
|
||||
|
||||
@@ -90,5 +89,3 @@ public:
|
||||
const texture_names_map* varTextures);
|
||||
void render();
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_RENDER_MODEL_BATCH_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPHICS_RENDER_SKYBOX_HPP_
|
||||
#define GRAPHICS_RENDER_SKYBOX_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -54,5 +53,3 @@ public:
|
||||
return ready;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_RENDER_SKYBOX_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPHICS_RENDER_WORLD_RENDERER_HPP_
|
||||
#define GRAPHICS_RENDER_WORLD_RENDERER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
@@ -98,6 +97,3 @@ public:
|
||||
bool pause
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
#endif // GRAPHICS_RENDER_WORLD_RENDERER_HPP_
|
||||
|
||||
Reference in New Issue
Block a user