@kognifai/cogsengine
    Preparing search index...

    Function lerp

    Performs a linear interpolation between two quat's

    the receiving quaternion

    the first operand

    the second operand

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

    out

    • Performs a linear interpolation between two vec4's

      Parameters

      • out: vec4

        the receiving vector

      • a: ReadonlyVec4

        the first operand

      • b: ReadonlyVec4

        the second operand

      • t: number

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

      Returns vec4

      out