math docs
    Preparing search index...

    Variable lerpConst

    lerp: (out: vec4.Vec4, a: vec4.Vec4, b: vec4.Vec4, t: number) => vec4.Vec4 = vec4.lerp

    Performs a linear interpolation between two quat's

    Type Declaration

      • (out: vec4.Vec4, a: vec4.Vec4, b: vec4.Vec4, t: number): vec4.Vec4
      • Performs a linear interpolation between two vec4's

        Parameters

        • out: vec4.Vec4

          the receiving vector

        • a: vec4.Vec4

          the first operand

        • b: vec4.Vec4

          the second operand

        • t: number

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

        Returns vec4.Vec4

        out

    the receiving quaternion

    the first operand

    the second operand

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

    out