MatrixPerspective method
Get perspective projection matrix
NOTE: Fovy angle must be provided in radians
Implementation
@override
MatrixD MatrixPerspective(
double fovY,
double aspect,
double nearPlane,
double farPlane,
) => $.Matrix$.Extract1(
(p) => _wasm.MatrixPerspective(
p.toJS,
fovY.toJS,
aspect.toJS,
nearPlane.toJS,
farPlane.toJS,
),
);