shz_xmtrx_get_rotation
SHZ_INLINE void shz_xmtrx_get_rotation(float* radians, shz_vec3_t* axis) SHZ_NOEXCEPT;Extracts the angle-axis rotational component from XMTRX.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
radians | float * | Pointer for returning the angle in radians. |
axis | shz_vec3_t * | Pointer for returning the 3D axis of rotation. |
Returns
Section titled “Returns”Nothing (void).
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::get_rotation - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:1214 - Module: XMTRX, section "Miscellaneous"