mat4Perspective
mat4Perspective(
fovY,aspect,near,far):Mat4
Defined in: src/modules/math/mat4.ts:153
Perspective projection: fovY is the vertical field of view in radians,
aspect is width / height, and near / far are positive distances in front
of the camera. Maps the view frustum to NDC [-1, 1] on every axis.
Parameters
Section titled “Parameters”number
aspect
Section titled “aspect”number
number
number