mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Added missing reference
This commit is contained in:
parent
fa0c09b30c
commit
df1be4aeb9
@ -201,7 +201,7 @@ static qreal area(const QVector<QPointF> &polygon)
|
||||
return area;
|
||||
}
|
||||
|
||||
static QPointF centroid(const QVector<QPointF> polygon)
|
||||
static QPointF centroid(const QVector<QPointF> &polygon)
|
||||
{
|
||||
qreal cx = 0, cy = 0;
|
||||
qreal factor = 1.0 / (6.0 * area(polygon));
|
||||
|
Loading…
Reference in New Issue
Block a user