@kognifai/cogsengine
    Preparing search index...

    Function lerp

    • Performs a linear interpolation between two vec2's

      Parameters

      • out: vec2

        the receiving vector

      • a: ReadonlyVec2

        the first operand

      • b: ReadonlyVec2

        the second operand

      • t: number

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

      Returns vec2

      out