Prechádzať zdrojové kódy

# 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 rokov pred
rodič
commit
02fc5effba
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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.