diff --git a/geometry/point2d.hpp b/geometry/point2d.hpp index 5b6f819879..6715c3d158 100644 --- a/geometry/point2d.hpp +++ b/geometry/point2d.hpp @@ -156,7 +156,7 @@ namespace m2 template T const CrossProduct(Point const & a, Point const & b) { - return a.y * b.x - a.x * b.y; + return a.x * b.y - a.y * b.x; } template