diff options
Diffstat (limited to 'src/Tracer.h')
-rw-r--r-- | src/Tracer.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Tracer.h b/src/Tracer.h index ec23b340e..ec87d449e 100644 --- a/src/Tracer.h +++ b/src/Tracer.h @@ -3,8 +3,6 @@ #include "Vector3.h" -#include <array> - @@ -63,11 +61,10 @@ private: /// Return 1 through 6 for the following block faces, repectively: -x, -z, x, z, y, -y int GetHitNormal( const Vector3f & start, const Vector3f & end, const Vector3i & a_BlockPos); - /// Signum function - int SigNum( float a_Num); + float SigNum( float a_Num); cWorld* m_World; - static const std::array<const Vector3f, 6> m_NormalTable; + Vector3f m_NormalTable[6]; Vector3f dir; Vector3f tDelta; |