1
0

Removed the controversial Vector3::operator <.

It hasn't been used in any C++ code and Lua doesn't need it.
This commit is contained in:
madmaxoft 2014-05-03 20:17:47 +02:00
parent d4ae00434c
commit b4496278a5

View File

@ -123,12 +123,6 @@ public:
return Equals(a_Rhs); 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) inline void Move(T a_X, T a_Y, T a_Z)
{ {
x += a_X; x += a_X;