Fix the order of the parameters

This commit is contained in:
Andreas Fabri 2024-09-20 09:22:13 +01:00
parent 69eca991ed
commit ae6586971d
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ public:
Translated_point translate;
auto fraction = pt.getFraction().approx;
return translate(points[pt.getPoint()] ,
scale(difference(points[pt.getPoint() + 1], points[pt.getPoint()]), fraction));
scale(difference(points[pt.getPoint() ], points[pt.getPoint() + 1]), fraction));
}
Point interpolate_at(PointID const& pt) const { return points[pt]; }