Next iteration.

This commit is contained in:
rubenthoms
2020-09-23 18:40:05 +02:00
parent de360c8a4c
commit 9baa24e9ef
5 changed files with 169 additions and 134 deletions

View File

@@ -30,7 +30,7 @@ Vec3Type GeometryTools::computePolygonCenter(const std::vector<Vec3Type>& polygo
{
Vec3Type s;
for (int i = 0; i < polygon.size(); i++)
for (size_t i = 0; i < polygon.size(); i++)
{
s.x() += polygon[i].x();
s.y() += polygon[i].y();