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