diff options
author | madmaxoft <github@xoft.cz> | 2014-05-03 20:17:47 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-03 20:17:47 +0200 |
commit | b4496278a583747a82736d69b62684a1544d814e (patch) | |
tree | e0a487088916ebe473b674abb94c7fc298834f11 | |
parent | Fixed float comparison warnings in Vector3. (diff) | |
download | cuberite-b4496278a583747a82736d69b62684a1544d814e.tar cuberite-b4496278a583747a82736d69b62684a1544d814e.tar.gz cuberite-b4496278a583747a82736d69b62684a1544d814e.tar.bz2 cuberite-b4496278a583747a82736d69b62684a1544d814e.tar.lz cuberite-b4496278a583747a82736d69b62684a1544d814e.tar.xz cuberite-b4496278a583747a82736d69b62684a1544d814e.tar.zst cuberite-b4496278a583747a82736d69b62684a1544d814e.zip |
-rw-r--r-- | src/Vector3.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index 30b8e748a..20f9b4ca7 100644 --- a/src/Vector3.h +++ b/src/Vector3.h @@ -123,12 +123,6 @@ public: return Equals(a_Rhs); } - inline bool operator < (const Vector3<T> & a_Rhs) - { - // return (x < a_Rhs.x) && (y < a_Rhs.y) && (z < a_Rhs.z); ? - return (x < a_Rhs.x) || (x == a_Rhs.x && y < a_Rhs.y) || (x == a_Rhs.x && y == a_Rhs.y && z < a_Rhs.z); - } - inline void Move(T a_X, T a_Y, T a_Z) { x += a_X; |