Skip to content

shz_xmtrx_init_rotation_zyx

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

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

NameTypeDescription
zAnglefloat
yAnglefloat
xAnglefloat

Nothing (void).

  • The given angles are represented as Tait-Bryan angles, representing an extrinsic rotation.

shz_xmtrx_init_rotation_xyz, shz_xmtrx_init_rotation_yxz