Skip to content

Documentation / @ripl/3d / mat4Orthographic

Function: mat4Orthographic() ​

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

Defined in: 3d/src/math/matrix.ts:165

Constructs an orthographic projection matrix.

Parameters ​

ParameterType
leftnumber
rightnumber
bottomnumber
topnumber
nearnumber
farnumber

Returns ​

Matrix4