feat: naive texture-faces support for blockwraps implementation

This commit is contained in:
MihailRis 2025-12-19 22:08:07 +03:00
parent c6c23c3c53
commit 561fb0fb58
4 changed files with 63 additions and 55 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <string>
#include <memory>
#include <unordered_map>
@ -15,7 +16,8 @@ class DrawContext;
struct BlockWrapper {
glm::ivec3 position;
std::string texture;
std::array<std::string, 6> textureFaces {};
uint8_t cullingBits = 0xFF;
};
class BlockWrapsRenderer {