diff options
author | worktycho <work.tycho@gmail.com> | 2014-09-23 09:15:22 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-09-23 09:15:22 +0200 |
commit | e3e7bc21f7c17e2905fd9dbec09a3c02371e51f8 (patch) | |
tree | d77d1df4b459af2363ebf2d3044981d15b78eb81 /src/Tracer.cpp | |
parent | Updated README.md (diff) | |
parent | A few compiler warning fixes (diff) | |
download | cuberite-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.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; |