Skip to content

orthographic beta ​

Function of @v12-engine/render

ts
export declare function orthographic(left: number, right: number, bottom: number, top: number, near: number, far: number, out: Mat4): Mat4;

A projection without perspective into out: the box from left, bottom, near to right, top, far onto the screen, depth 0 at near and 1 at far