Просмотр исходного кода

Fixed Vector4::operator< (properly)

prshreshtha 11 лет назад
Родитель
Сommit
c75db0eb8d
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;
         }