Parcourir la source

Fixed Vector4::operator<

prshreshtha il y a 11 ans
Parent
commit
a1232a8b3c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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;
                 }