Plane.transform

Transforms a #graphene_plane_t @p using the given @matrix and @normal_matrix.

If @normal_matrix is %NULL, a transformation matrix for the plane normal will be computed from @matrix. If you are transforming multiple planes using the same @matrix it's recommended to compute the normal matrix beforehand to avoid incurring in the cost of recomputing it every time.

class Plane
void
transform

Parameters

matrix Matrix

a #graphene_matrix_t

normalMatrix Matrix

a #graphene_matrix_t

res Plane

the transformed plane

Meta

Since

1.10