mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
Worlds indexing
This commit is contained in:
parent
eea920d98f
commit
f513c094a9
19 changed files with 383 additions and 141 deletions
|
|
@ -16,6 +16,7 @@ struct ChunkFlag{
|
|||
|
||||
struct voxel;
|
||||
class Lightmap;
|
||||
class ContentLUT;
|
||||
|
||||
struct RenderData {
|
||||
float* vertices;
|
||||
|
|
@ -76,6 +77,8 @@ public:
|
|||
|
||||
ubyte* encode() const;
|
||||
bool decode(ubyte* data);
|
||||
|
||||
static void convert(ubyte* data, const ContentLUT* lut);
|
||||
};
|
||||
|
||||
#endif /* VOXELS_CHUNK_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue