fixed p2t::Point inequility operator

This commit is contained in:
Jan Niklas Hasse 2012-07-12 20:00:30 +02:00
parent 544aec554c
commit c08527deb3

View File

@ -254,7 +254,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 == b);
} }
/// Peform the dot product on two vectors. /// Peform the dot product on two vectors.