mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
feat: naive texture-faces support for blockwraps implementation
This commit is contained in:
parent
c6c23c3c53
commit
561fb0fb58
4 changed files with 63 additions and 55 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue