transform


Description:

[ Version ( since = "1.10" ) ]
public Plane transform (Matrix matrix, Matrix? normal_matrix)

Transforms a Plane this 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:

this

a Plane

matrix

a Matrix

normal_matrix

a Matrix

res

the transformed plane