summaryrefslogtreecommitdiffstats
path: root/src/AssetManager.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-20 14:38:11 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-20 14:38:11 +0200
commitbc49bcbb795c45cdb91efc6b03d93e4202e766b2 (patch)
treee3c405dacff7d8d227986d73b65311dcdb3f48a2 /src/AssetManager.hpp
parentCorrect face culling for rotated blocks (diff)
downloadAltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.tar
AltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.tar.gz
AltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.tar.bz2
AltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.tar.lz
AltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.tar.xz
AltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.tar.zst
AltCraft-bc49bcbb795c45cdb91efc6b03d93e4202e766b2.zip
Diffstat (limited to 'src/AssetManager.hpp')
-rw-r--r--src/AssetManager.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AssetManager.hpp b/src/AssetManager.hpp
index 1996c9e..5d86d9c 100644
--- a/src/AssetManager.hpp
+++ b/src/AssetManager.hpp
@@ -39,14 +39,14 @@ struct ParsedFace {
glm::mat4 transform;
glm::vec4 texture;
float layer;
- glm::vec3 color;
+ glm::vec3 color;
};
struct BlockFaces {
glm::mat4 transform;
std::vector<ParsedFace> faces;
bool isBlock;
- FaceDirection direction;
+ Vector faceDirectionVector[FaceDirection::none];
};
struct BlockModel {