mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-26 15:26:12 +01:00
Merge pull request #27 from piotrkania-here/fixed_point_operator
Fixed inequality operator for Point struct
This commit is contained in:
commit
444ee57d87
@ -259,7 +259,7 @@ inline bool operator ==(const Point& a, const Point& b)
|
|||||||
|
|
||||||
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.
|
/// Peform the dot product on two vectors.
|
||||||
|
Loading…
Reference in New Issue
Block a user