MatrixExtension extension

Extension on Matrix4 to simplify perspective and tilt transforms.

on

Methods

perspective() Matrix4

Available on Matrix4, provided by the MatrixExtension extension

Returns a new Matrix4 with a perspective entry applied.
tilt({required double rotate, required double vertical, required double horizontal}) Matrix4

Available on Matrix4, provided by the MatrixExtension extension

Applies tilt and rotation transforms to this Matrix4.