Searched refs:sumx (Results 1 – 1 of 1) sorted by relevance
125 double sumx = 0; in centroid2d() local135 sumx += (x1 + x2) * a; in centroid2d()143 centroid = (Vector2){static_cast<float>(sumx / (3 * area)), in centroid2d()