Reference rotateBy()

rotateBy()

Rotates the Quaternion by the quaternion passed which contains the axis of roation and angle of rotation

Examples

Syntax

rotateBy([axesQuat])

Parameters

axesQuat
p5.Quat: axis quaternion which contains the axis of rotation and angle of rotation

Related References