shz_xmtrx_init_rotation_yxz
SHZ_INLINE void shz_xmtrx_init_rotation_yxz(float yAngle, float xAngle, float zAngle) SHZ_NOEXCEPT;Initializes XMTRX to be a 3D Y-X-Z rotation matrix, with the corresponding angles given in radians.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
yAngle | float | |
xAngle | float | |
zAngle | float |
Returns
Section titled “Returns”Nothing (void).
- The given angles are represented as Tait-Bryan angles, representing an intrinsic rotation.
Availability
Section titled “Availability”- C++ equivalent: none (call the C function from C++)
- Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:315 - Module: XMTRX, section "Initialization"