From bc49bcbb795c45cdb91efc6b03d93e4202e766b2 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Mon, 20 Aug 2018 17:38:11 +0500 Subject: More correct face culling for rotated blocks --- src/AssetManager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/AssetManager.hpp') 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 faces; bool isBlock; - FaceDirection direction; + Vector faceDirectionVector[FaceDirection::none]; }; struct BlockModel { -- cgit v1.2.3