custom model format changes

This commit is contained in:
A-lex-Ra 2024-01-09 13:46:26 +06:00
parent b5739c678f
commit c4125058b4
7 changed files with 93 additions and 39 deletions

View file

@ -77,8 +77,7 @@ class BlocksRenderer {
ubyte rotation,
bool lights);
void blockXSprite(int x, int y, int z, const glm::vec3& size, const UVRegion& face1, const UVRegion& face2, float spread);
void blockCustomFaces(const glm::ivec3& icoord,
const UVRegion(&texfaces)[6],
void blockCustomModel(const glm::ivec3& icoord,
const Block* block, ubyte rotation,
bool lights);