@kognifai/cogsengine
    Preparing search index...

    Function lerp

    • Performs a linear interpolation between two dual quats's NOTE: The resulting dual quaternions won't always be normalized (The error is most noticeable when t = 0.5)

      Parameters

      • out: quat2

        the receiving dual quat

      • a: ReadonlyQuat2

        the first operand

      • b: ReadonlyQuat2

        the second operand

      • t: number

        interpolation amount, in the range [0-1], between the two inputs

      Returns quat2

      out