Plane.transform

void transform(graphene.matrix.Matrix matrix, graphene.matrix.Matrix normalMatrix, out graphene.plane.Plane res)

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

matrixa #graphene_matrix_t
normalMatrixa #graphene_matrix_t
resthe transformed plane