mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
parent
736cd175d5
commit
bbf33e8e4d
202 changed files with 7389 additions and 5609 deletions
|
|
@ -3,8 +3,9 @@
|
|||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include "voxel.hpp"
|
||||
|
||||
#include "../typedefs.hpp"
|
||||
#include "voxel.hpp"
|
||||
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#include "glm/gtx/hash.hpp"
|
||||
|
|
@ -23,9 +24,8 @@ public:
|
|||
std::shared_ptr<Chunk> get(int x, int z) const;
|
||||
void store(const std::shared_ptr<Chunk>& chunk);
|
||||
void remove(int x, int y);
|
||||
void getVoxels(VoxelsVolume* volume, bool backlight=false) const;
|
||||
void getVoxels(VoxelsVolume* volume, bool backlight = false) const;
|
||||
std::shared_ptr<Chunk> create(int x, int z);
|
||||
};
|
||||
|
||||
|
||||
#endif // VOXELS_CHUNKSSTORAGE_HPP_
|
||||
#endif // VOXELS_CHUNKSSTORAGE_HPP_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue