• Used internally by SplineCurve.

    Parameters

    • t: number

      Interpolation weight. Expects a Float

    • p0: number

      Expects a Float

    • p1: number

      Expects a Float

    • p2: number

      Expects a Float

    • p3: number

      P0, p1, p2, the points defining the spline curve. Expects a Float

    Returns number