Computes the UV coordinates of the given point @p.
The point @p must lie on the same plane as the triangle @t; if the point
is not coplanar, the result of this function is undefined. If @p is %NULL,
the point will be set in (0, 0, 0).
The UV coordinates will be placed in the @res vector:
Computes the UV coordinates of the given point @p.
The point @p must lie on the same plane as the triangle @t; if the point is not coplanar, the result of this function is undefined. If @p is %NULL, the point will be set in (0, 0, 0).
The UV coordinates will be placed in the @res vector:
- res.x = u - res.y = v
See also: graphene_triangle_get_barycoords()