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

# poly2tri: fix Point::operator!= (http://code.google.com/p/poly2tri/issues/detail?id=38).

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1135 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg пре 13 година
родитељ
комит
02fc5effba
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      contrib/poly2tri/poly2tri/common/shapes.h

+ 1 - 1
contrib/poly2tri/poly2tri/common/shapes.h

@@ -257,7 +257,7 @@ inline bool operator ==(const Point& a, const Point& b)
 
 inline bool operator !=(const Point& a, const Point& b)
 {
-  return a.x != b.x && a.y != b.y;
+  return a.x != b.x || a.y != b.y;
 }
 
 /// Peform the dot product on two vectors.