From ee939cf8c86eb1d855bcf1c89038a709f350c84c Mon Sep 17 00:00:00 2001 From: worktycho Date: Tue, 5 May 2015 22:08:40 +0100 Subject: Revert "Small code cleanup" --- src/Tracer.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/Tracer.h') 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 - @@ -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 m_NormalTable; + Vector3f m_NormalTable[6]; Vector3f dir; Vector3f tDelta; -- cgit v1.2.3