From b4496278a583747a82736d69b62684a1544d814e Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sat, 3 May 2014 20:17:47 +0200 Subject: Removed the controversial Vector3::operator <. It hasn't been used in any C++ code and Lua doesn't need it. --- src/Vector3.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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 & 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; -- cgit v1.2.3