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-05-08 15:12:32 +0200
commit8a50918d2a58a84111567d73949fe67b9424c660 (patch)
treed5551ab003e9152c27af883c0d1c061db2671975 /src/Tracer.h
parentCheck for zero length vector in Trace (diff)
downloadcuberite-8a50918d2a58a84111567d73949fe67b9424c660.tar
cuberite-8a50918d2a58a84111567d73949fe67b9424c660.tar.gz
cuberite-8a50918d2a58a84111567d73949fe67b9424c660.tar.bz2
cuberite-8a50918d2a58a84111567d73949fe67b9424c660.tar.lz
cuberite-8a50918d2a58a84111567d73949fe67b9424c660.tar.xz
cuberite-8a50918d2a58a84111567d73949fe67b9424c660.tar.zst
cuberite-8a50918d2a58a84111567d73949fe67b9424c660.zip
Diffstat (limited to 'src/Tracer.h')
-rw-r--r--src/Tracer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Tracer.h b/src/Tracer.h
index cf54fa66c..31531719f 100644
--- a/src/Tracer.h
+++ b/src/Tracer.h
@@ -63,7 +63,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;
static const std::array<const Vector3f, 6> & m_NormalTable(void);