makeOrthographic

fun makeOrthographic(left: Double, right: Double, top: Double, bottom: Double, near: Double, far: Double, coordinateSystem: CoordinateSystem = CoordinateSystem.WebGL, reversedDepth: Boolean = false): Matrix4

Creates an orthographic projection matrix. Used internally by OrthographicCamera.updateProjectionMatrix.

Return

A reference to this matrix.

Parameters

left

Left boundary of the viewing frustum at the near plane.

right

Right boundary of the viewing frustum at the near plane.

top

Top boundary of the viewing frustum at the near plane.

bottom

Bottom boundary of the viewing frustum at the near plane.

near

The distance from the camera to the near plane.

far

The distance from the camera to the far plane.

coordinateSystem

The target clip-space coordinate system.

reversedDepth

Whether to use a reversed depth.