summaryrefslogtreecommitdiffstats
path: root/src/Tracer.h
diff options
context:
space:
mode:
authorWoazboat <f.kargl@posteo.de>2015-04-28 02:51:21 +0200
committerWoazboat <f.kargl@posteo.de>2015-04-28 02:51:21 +0200
commit496e5b10002900b4fb12b053523f83b943ef3806 (patch)
tree7ec0f5ff2b47d7169a686e3f2fc652b088d898e8 /src/Tracer.h
parentCheck for zero length vector in Trace (diff)
downloadcuberite-496e5b10002900b4fb12b053523f83b943ef3806.tar
cuberite-496e5b10002900b4fb12b053523f83b943ef3806.tar.gz
cuberite-496e5b10002900b4fb12b053523f83b943ef3806.tar.bz2
cuberite-496e5b10002900b4fb12b053523f83b943ef3806.tar.lz
cuberite-496e5b10002900b4fb12b053523f83b943ef3806.tar.xz
cuberite-496e5b10002900b4fb12b053523f83b943ef3806.tar.zst
cuberite-496e5b10002900b4fb12b053523f83b943ef3806.zip
Diffstat (limited to '')
-rw-r--r--src/Tracer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Tracer.h b/src/Tracer.h
index ec87d449e..821131539 100644
--- a/src/Tracer.h
+++ b/src/Tracer.h
@@ -61,7 +61,8 @@ 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);
- float SigNum( float a_Num);
+ /// Signum function
+ int SigNum( float a_Num);
cWorld* m_World;
Vector3f m_NormalTable[6];