shz_xmtrx_rotate_y_xz
SHZ_INLINE void shz_xmtrx_rotate_y_xz(float x, float z) SHZ_NOEXCEPT;Multiplies and accumulates XMTRX by the rotation about the Y axis that turns local +Z toward the unit direction (x, 0, z).
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float | X component of the unit direction. |
z | float | Z component of the unit direction. |
Returns
Section titled “Returns”Nothing (void).
Details
Section titled “Details”Equivalent to shz_xmtrx_rotate_y() for the angle whose sine is x and cosine is z.
Warnings
Section titled “Warnings”- (
x,z) must be unit length.
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::rotate_y_xz - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:710 - Module: XMTRX, section "GL Transformations"