Computes the centroid of the triangle (a, b, c).
the output vector to store the result.
the first vertex of the triangle.
the second vertex of the triangle.
the third vertex of the triangle.
out.
Computes the centroid of the triangle (a, b, c).