Function rotateAroundAxis

  • Rotates a dual quat around a given axis. Does the normalisation automatically

    Parameters

    • out: quat2

      the receiving dual quaternion

    • a: ReadonlyQuat2

      the dual quaternion to rotate

    • axis: ReadonlyVec3

      the axis to rotate around

    • rad: number

      how far the rotation should be

    Returns quat2

    out

Generated using TypeDoc