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 ​
| Parameter | Type |
|---|---|
left | number |
right | number |
bottom | number |
top | number |
near | number |
far | number |