mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-06 05:42:59 -04:00
Commenting source of Polygon::centroid() algorithm
This commit is contained in:
parent
52b3c655ff
commit
5c35fa4539
@ -153,6 +153,7 @@ void Polygon::triangulate_convex(Polygons* polygons) const
|
||||
}
|
||||
|
||||
// center of mass
|
||||
// source: https://en.wikipedia.org/wiki/Centroid
|
||||
Point Polygon::centroid() const
|
||||
{
|
||||
double area_sum = 0.;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user