Worlds indexing

This commit is contained in:
MihailRis 2023-12-08 21:00:15 +03:00
parent eea920d98f
commit f513c094a9
19 changed files with 383 additions and 141 deletions

View file

@ -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_ */