summaryrefslogtreecommitdiffstats
path: root/src/Tracer.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-09-23 09:15:22 +0200
committerworktycho <work.tycho@gmail.com>2014-09-23 09:15:22 +0200
commite3e7bc21f7c17e2905fd9dbec09a3c02371e51f8 (patch)
treed77d1df4b459af2363ebf2d3044981d15b78eb81 /src/Tracer.cpp
parentUpdated README.md (diff)
parentA few compiler warning fixes (diff)
downloadcuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.tar
cuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.tar.gz
cuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.tar.bz2
cuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.tar.lz
cuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.tar.xz
cuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.tar.zst
cuberite-e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8.zip
Diffstat (limited to 'src/Tracer.cpp')
-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;