shz_xmtrx_init_perspective
SHZ_INLINE void shz_xmtrx_init_perspective(float fov, float aspect, float znear) SHZ_NOEXCEPT;Initializes XMTRX to a perspective projection matrix.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
fov | float | |
aspect | float | |
znear | 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_perspective - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:388 - Module: XMTRX, section "Initialization"