applyMatrix4

fun applyMatrix4(matrix: Matrix4, optionalNormalMatrix: Matrix3? = null): Plane

Applies a 4x4 matrix matrix to the plane. The matrix must be an affine, homogeneous transform.

The optional normal matrix can be pre-computed like so:

val optionalNormalMatrix = Matrix3().getNormalMatrix(matrix)

Return

A reference to this plane.

Parameters

matrix

The transformation matrix.

optionalNormalMatrix

A pre-computed normal matrix.