Преглед изворни кода

Merge pull request #1520 from prshreshtha/patch-4

Fixed Vector4::operator< (properly)
Sean Taylor пре 11 година
родитељ
комит
aad6a87463
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      gameplay/src/Vector4.inl

+ 1 - 4
gameplay/src/Vector4.inl

@@ -63,10 +63,7 @@ inline bool Vector4::operator<(const Vector4& v) const
         {
             if (z == v.z)
             {
-                if (w == v.w)
-                {
-                    return w < v.w;
-                }
+                return w < v.w;
             }
             return z < v.z;
         }