shz_xmtrx_init_permutation_wxyz
SHZ_INLINE void shz_xmtrx_init_permutation_wxyz(void) SHZ_NOEXCEPT;Initializes XMTRX to a permutation matrix, which reorders the components of transformed vectors to be in WXYZ order.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| `` | void |
Returns
Section titled “Returns”Nothing (void).
Naming and requirements
Section titled “Naming and requirements”_wxyz: Register/column permutation so thatFTRVyields W first (cycle 4 instead of 7), which helps perspective division. (Naming and Suffixes)
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::init_permutation_wxyz - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:347 - Module: XMTRX, section "Initialization"