shz_xmtrx_init_frustum
SHZ_INLINE void shz_xmtrx_init_frustum(float left, float right, float bottom, float top, float znear, float zfar) SHZ_NOEXCEPT;Initializes XMTRX to a frustum projection matrix, equivalent to glFrustum().
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).
Warnings
Section titled “Warnings”- This routine clobbers any previous XMTRX contents.
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::init_frustum - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:382 - Module: XMTRX, section "Initialization"