Skip to content

shz_quat_from_rotation_yxz

Markdown
SHZ_INLINE shz_quat_t shz_quat_from_rotation_yxz(float yAngle, float xAngle, float zAngle) SHZ_NOEXCEPT;

Returns the quaternion of the rotation shz_xmtrx_init_rotation_yxz() builds, Qy * Qx * Qz, from angles in radians.

NameTypeDescription
yAnglefloat
xAnglefloat
zAnglefloat

shz_quat_t

  • 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:87
  • Module: Quaternion, section "Initialization"