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-05-08 15:12:32 +0200
commit0d003a2d2a8807983f23372dd15eabd403cd4b1c (patch)
treec45796e694f00eb7c772e11d2881ff77d27fc78a /src/Tracer.h
parentRemoved redundant temp iterator. std::list.erase already returns (diff)
downloadcuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.tar
cuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.tar.gz
cuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.tar.bz2
cuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.tar.lz
cuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.tar.xz
cuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.tar.zst
cuberite-0d003a2d2a8807983f23372dd15eabd403cd4b1c.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 ec87d449e..cf54fa66c 100644
--- a/src/Tracer.h
+++ b/src/Tracer.h
@@ -3,6 +3,8 @@
#include "Vector3.h"
+#include <array>
+
@@ -64,7 +66,7 @@ private:
float SigNum( float a_Num);
cWorld* m_World;
- Vector3f m_NormalTable[6];
+ static const std::array<const Vector3f, 6> & m_NormalTable(void);
Vector3f dir;
Vector3f tDelta;