Преглед на файлове

# 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.