shz_xmtrx_apply_ortho
SHZ_INLINE void shz_xmtrx_apply_ortho(float left, float right, float bottom, float top, float znear, float zfar) SHZ_NOEXCEPT;Applies a 2D orthographic projection matrix onto XMTRX, equivalent to glOrtho().
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
left | float | |
right | float | |
bottom | float | |
top | float | |
znear | float | |
zfar | float |
Returns
Section titled “Returns”Nothing (void).
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::apply_ortho - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:518 - Module: XMTRX, section "Apply Operation"