diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-20 14:38:11 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-20 14:38:11 +0200 |
commit | bc49bcbb795c45cdb91efc6b03d93e4202e766b2 (patch) | |
tree | e3c405dacff7d8d227986d73b65311dcdb3f48a2 /src/AssetManager.hpp | |
parent | Correct face culling for rotated blocks (diff) | |
download | AltCraft-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.hpp | 4 |
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 { |