Skip to content

shz_xmtrx_apply_rotation_yxz

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

Multiplies and accumulates XMTRX by a 3D Y-X-Z rotation matrix, with the corresponding angles given in radians.

NameTypeDescription
yAnglefloat
xAnglefloat
zAnglefloat

Nothing (void).

The transform is applied to the inner 3x3 values within XMTRX, preserving the translational components.

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

shz_xmtrx_apply_rotation_xyz, shz_xmtrx_apply_rotation_zyx