mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-28 04:14:27 +03:00
Merged with master
This commit is contained in:
@@ -103,6 +103,12 @@ inline void polygons_rotate(Polygons &polys, double angle)
|
||||
p.rotate(cos_angle, sin_angle);
|
||||
}
|
||||
|
||||
inline void polygons_reverse(Polygons &polys)
|
||||
{
|
||||
for (Polygon &p : polys)
|
||||
p.reverse();
|
||||
}
|
||||
|
||||
inline Points to_points(const Polygon &poly)
|
||||
{
|
||||
return poly.points;
|
||||
|
||||
Reference in New Issue
Block a user