Skip to content

shz_xmtrx_init_rotation_xyz

Markdown
SHZ_INLINE void shz_xmtrx_init_rotation_xyz(float xAngle, float yAngle, float zAngle) SHZ_NOEXCEPT;

Initializes XMTRX to be a 3D X-Y-Z rotation matrix, with the corresponding angles given in radians.

NameTypeDescription
xAnglefloat
yAnglefloat
zAnglefloat

Nothing (void).

  • The given angles are represented as Tait-Bryan angles, representing an intrinsic rotation.
  • 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:288
  • Module: XMTRX, section "Initialization"

shz_xmtrx_init_rotation_zyx, shz_xmtrx_init_rotation_yxz