Build an frustum perspective projection matrix with default NDC and DepthClip
Build an orthographic projection matrix with default NDC
Build a perspective projection matrix with default NDC and DepthClip
NDC aggregates both XYClip and ZClip
Determines whether the default projection matrices will project to a clip space where Y points upwards (left hand NDC) or downwards (right hand NDC). Default is right hand NDC, but can be changed by setting version(GfxMathLeftHandNDC) X-Y clip space spans from [-1 .. 1] in both cases.
Determines whether the default projection matrices will project to a clip space whose depth range is [0 .. 1] or [-1 .. 1]. Default is [0 .. 1] but can be changed by setting version(GfxMathDepthMinusOneToOne) Z points into the screen in both cases.
Build an frustum perspective projection matrix with NDC and DepthClip selected at runtime
Build a perspective projection matrix with left-hand NDC and [0 .. 1] depth clipping
Build a perspective projection matrix with left-hand NDC and [-1 .. 1] depth clipping
Build a perspective projection matrix with right-hand NDC and [0 .. 1] depth clipping
Build a perspective projection matrix with right-hand NDC and [0 .. 1] depth clipping
Build NDC from XYClip and ZClip
Build an orthographic projection matrix with NDC determined at runtime
Build an orthographic projection matrix with left-hand NDC and [0 .. 1] depth clipping
Build an orthographic projection matrix with left-hand NDC and [-1 .. 1] depth clipping
Build an orthographic projection matrix with right-hand NDC and [0 .. 1] depth clipping
Build an orthographic projection matrix with right-hand NDC and [-1 .. 1] depth clipping
Build a perspective projection matrix with NDC selected at run-time.
Build a perspective projection matrix with left-hand NDC and [0 .. 1] depth clipping
Build a perspective projection matrix with left-hand NDC and [-1 .. 1] depth clipping
Build a perspective projection matrix with right-hand NDC and [0 .. 1] depth clipping
Build a perspective projection matrix with right-hand NDC and [-1 .. 1] depth clipping
Get XYClip from NDC
Get ZClip from NDC
Build an frustum perspective projection matrix with NDC set at compile-time.
Build an orthographic projection matrix with NDC set at compile-time.
Build an perspective projection matrix with NDC set at compile-time.
NDC agnostic projection matrices. Each projection can be parameterized with a NDC configuration. NDC defines how the clip space will translate to screen coordinates. Note that after transformation by a projection matrix, X, Y and Z vertex coordinates must be divided by W to obtain coordinates in final NDC space. NDC has two components (XYClip and ZClip) that will affect how the coordinates are transformed in the final normalized clipping space. XYClip affects only X and Y (X always to the right, Y either upwards or downwards for leftHanded and rightHanded respectively), and ZClip affects Z depth range.