summaryrefslogtreecommitdiffstats
path: root/src/Tracer.h
diff options
context:
space:
mode:
authorWoazboat <f.kargl@posteo.de>2015-04-29 00:14:42 +0200
committerWoazboat <f.kargl@posteo.de>2015-04-29 00:14:42 +0200
commit3d1bd544b08ab67a6d1e9c89fa66ad3c28426360 (patch)
treec2ffc3dd07b235db6a0410baca1c4f7a3907e80b /src/Tracer.h
parentChanged Vector3 Equals function to avoid using memcmp (diff)
downloadcuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.tar
cuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.tar.gz
cuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.tar.bz2
cuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.tar.lz
cuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.tar.xz
cuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.tar.zst
cuberite-3d1bd544b08ab67a6d1e9c89fa66ad3c28426360.zip
Diffstat (limited to '')
-rw-r--r--src/Tracer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Tracer.h b/src/Tracer.h
index 821131539..ec23b340e 100644
--- a/src/Tracer.h
+++ b/src/Tracer.h
@@ -3,6 +3,8 @@
#include "Vector3.h"
+#include <array>
+
@@ -65,7 +67,7 @@ private:
int SigNum( float a_Num);
cWorld* m_World;
- Vector3f m_NormalTable[6];
+ static const std::array<const Vector3f, 6> m_NormalTable;
Vector3f dir;
Vector3f tDelta;