VEX Dictionary / orthographic
orthographic
Builds an orthographic projection matrix from zoom, aspect ratio, and clip planes, for projecting points to NDC space.
group: transformtransform
Available in every context
Usage
matrix orthographic(float zoom, float orthowidth, float image_aspect, float pixel_aspect, float clip_near, float clip_far)
matrix orthographic(float zoom, float orthowidth, float image_aspect, float pixel_aspect, float clip_near, float clip_far, vector4 window)
Examples
No worked examples yet.
Signatures (from vcc -X)
matrix orthographic(float, float, float, float, float, float)all contextsmatrix orthographic(float, float, float, float, float, float, vector4)all contexts