summaryrefslogtreecommitdiffstats
path: root/src/RendererSectionData.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-09 21:09:29 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-09 21:09:29 +0200
commitcea95bd7351d66c72832f1688666cd9ef214a23f (patch)
tree770d5d27da7b9f27b973b86f325ea307042831d7 /src/RendererSectionData.hpp
parentWorkaround for liquids (diff)
downloadAltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.tar
AltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.tar.gz
AltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.tar.bz2
AltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.tar.lz
AltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.tar.xz
AltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.tar.zst
AltCraft-cea95bd7351d66c72832f1688666cd9ef214a23f.zip
Diffstat (limited to 'src/RendererSectionData.hpp')
-rw-r--r--src/RendererSectionData.hpp13
1 files changed, 2 insertions, 11 deletions
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 {