From cea95bd7351d66c72832f1688666cd9ef214a23f Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 10 Aug 2018 00:09:29 +0500 Subject: Moved ParsedFace and FaceDirection out of BlockModel --- src/RendererSectionData.hpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/RendererSectionData.hpp') diff --git a/src/RendererSectionData.hpp b/src/RendererSectionData.hpp index 1250d39..e472e99 100644 --- a/src/RendererSectionData.hpp +++ b/src/RendererSectionData.hpp @@ -6,21 +6,12 @@ #include "Vector.hpp" #include "Section.hpp" +#include "AssetManager.hpp" class World; -enum BlockDirection { - down, //Y- - up, //Y+ - north, //Z- - south, //Z+ - west, //X- - east, //X+ - none, -}; - struct BlockLightness { - unsigned char face[BlockDirection::none] = { 0,0,0,0,0,0 }; + unsigned char face[FaceDirection::none] = { 0,0,0,0,0,0 }; }; struct SectionsData { -- cgit v1.2.3