diff options
author | Woazboat <f.kargl@posteo.de> | 2015-04-29 00:27:15 +0200 |
---|---|---|
committer | Woazboat <f.kargl@posteo.de> | 2015-04-29 00:27:15 +0200 |
commit | 2359fc67055cadd369f6c52805778531efd47ecd (patch) | |
tree | 8d252d0d2b8a6d5777c3b45cfe9af02656d4c17c /src/Tracer.cpp | |
parent | Changed Tracer::m_NormalTable to static array (diff) | |
download | cuberite-2359fc67055cadd369f6c52805778531efd47ecd.tar cuberite-2359fc67055cadd369f6c52805778531efd47ecd.tar.gz cuberite-2359fc67055cadd369f6c52805778531efd47ecd.tar.bz2 cuberite-2359fc67055cadd369f6c52805778531efd47ecd.tar.lz cuberite-2359fc67055cadd369f6c52805778531efd47ecd.tar.xz cuberite-2359fc67055cadd369f6c52805778531efd47ecd.tar.zst cuberite-2359fc67055cadd369f6c52805778531efd47ecd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Tracer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tracer.cpp b/src/Tracer.cpp index ad662aca7..097726278 100644 --- a/src/Tracer.cpp +++ b/src/Tracer.cpp @@ -64,7 +64,7 @@ int cTracer::SigNum(float a_Num) void cTracer::SetValues(const Vector3f & a_Start, const Vector3f & a_Direction) { // Since this method should only be called by Trace, zero length vectors should already have been taken care of - ASSERT(a_Direction.hasNonZeroLength()); + ASSERT(a_Direction.HasNonZeroLength()); // calculate the direction of the ray (linear algebra) dir = a_Direction; @@ -148,7 +148,7 @@ void cTracer::SetValues(const Vector3f & a_Start, const Vector3f & a_Direction) bool cTracer::Trace(const Vector3f & a_Start, const Vector3f & a_Direction, int a_Distance, bool a_LineOfSight) { - if(!a_Direction.hasNonZeroLength()) + if(!a_Direction.HasNonZeroLength()) { return false; } |