Ver Fonte

Merge pull request #1514 from prshreshtha/patch-2

Fixed Vector4::operator<
Sean Taylor há 11 anos atrás
pai
commit
9d3e9480a0
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      gameplay/src/Vector4.inl

+ 2 - 2
gameplay/src/Vector4.inl

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