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.

Parameters

matrix graphene.matrix.Matrix

a #graphene_matrix_t

normalMatrix graphene.matrix.Matrix

a #graphene_matrix_t

res graphene.plane.Plane

the transformed plane