summaryrefslogtreecommitdiffstats
path: root/src/Tracer.cpp
diff options
context:
space:
mode:
authorChris Darnell <chris@cedeel.com>2014-09-23 00:23:56 +0200
committerChris Darnell <chris@cedeel.com>2014-09-23 00:23:56 +0200
commit806871b86f2f04545f20caa6a8c30db2ccb7bc12 (patch)
treed77d1df4b459af2363ebf2d3044981d15b78eb81 /src/Tracer.cpp
parentUpdated README.md (diff)
downloadcuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.gz
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.bz2
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.lz
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.xz
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.zst
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.zip
Diffstat (limited to '')
-rw-r--r--src/Tracer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tracer.cpp b/src/Tracer.cpp
index 8ccd18071..e125c6aa4 100644
--- a/src/Tracer.cpp
+++ b/src/Tracer.cpp
@@ -283,7 +283,7 @@ int cTracer::intersect3D_SegmentPlane( const Vector3f & a_Origin, const Vector3f
if (fabs(D) < EPSILON)
{
// segment is parallel to plane
- if (N == 0)
+ if (N == 0.0)
{
// segment lies in plane
return 2;