diff options
author | Chris Darnell <chris@cedeel.com> | 2014-09-23 00:23:56 +0200 |
---|---|---|
committer | Chris Darnell <chris@cedeel.com> | 2014-09-23 00:23:56 +0200 |
commit | 806871b86f2f04545f20caa6a8c30db2ccb7bc12 (patch) | |
tree | d77d1df4b459af2363ebf2d3044981d15b78eb81 /src/Tracer.cpp | |
parent | Updated README.md (diff) | |
download | cuberite-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 'src/Tracer.cpp')
-rw-r--r-- | src/Tracer.cpp | 2 |
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; |