Skip to content

sidePlanes beta ​

Function of @v12-engine/render

ts
export declare function sidePlanes(m: Mat4, out: Float32Array): Float32Array;

The four side planes of a view-projection (left, right, bottom, top; each a, b, c, d of length 1): what a pass culls by. Near and far are left out: nothing stands behind an RTS camera, and the far plane is past the map