Skip to content

shz_xmtrx_init_rotation_zxy

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

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

NameTypeDescription
zAnglefloat
xAnglefloat
yAnglefloat

Nothing (void).

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

shz_xmtrx_init_rotation_zyx, shz_xmtrx_init_rotation_yxz