R/chipmunk.R
cpCentroidForPoly.Rd
Calculate the natural centroid of a polygon.
cpCentroidForPoly(count, verts)
[int]
int
[cpVect *]
cpVect *
C function prototype: CP_EXPORT cpVect cpCentroidForPoly(const int count, const cpVect *verts);
CP_EXPORT cpVect cpCentroidForPoly(const int count, const cpVect *verts);