shz_quat_from_angles_xyz
SHZ_INLINE shz_quat_t shz_quat_from_angles_xyz(float xangle, float yangle, float zangle) SHZ_NOEXCEPT;Initializes and returns a quaternion with the given X-Y-Z rotations in radians.
Deprecated: Redundant with shz_quat_from_rotation_xyz(). This routine simply calls directly into it and should not be used.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
xangle | float | |
yangle | float | |
zangle | float |
Returns
Section titled “Returns”shz_quat_t
Details
Section titled “Details”The rotation is applied first around the X-axis, then the Y-, then the Z-axis.
- These angles are 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: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:522 - Module: Quaternion, section "Deprecated"