Skip to content

mat4Orthographic

mat4Orthographic(left, right, bottom, top, near, far): Mat4

Defined in: src/modules/math/mat4.ts:180

Orthographic projection of the view-space box [left, right] × [bottom, top], near to far in front of the camera, onto NDC [-1, 1] on every axis.

number

number

number

number

number

number

Mat4