getMidpoint

Computes the coordinates of the midpoint of the given #graphene_triangle_t.

The midpoint G is the centroid of the triangle, i.e. the intersection of its medians.

Since

1.2

Parameters

res

return location for the coordinates of the midpoint