math docs
    Preparing search index...

    Function slerp

    • Performs a spherical linear interpolation between two vec3's

      Parameters

      • out: vec3.Vec3

        the receiving vector

      • a: readonly [number, number, number]

        the first operand

      • b: readonly [number, number, number]

        the second operand

      • t: number

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

      Returns vec3.Vec3

      out