math docs
    Preparing search index...

    Function rotateAroundAxis

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

      Parameters

      • out: quat2.Quat2

        the receiving dual quaternion

      • a: readonly [number, number, number, number, number, number, number, number]

        the dual quaternion to rotate

      • axis: readonly [number, number, number]

        the axis to rotate around

      • rad: number

        how far the rotation should be

      Returns quat2.Quat2

      out