• Computes the full quadratic Bézier curve using the control points p0, p1, and p2.

    Parameters

    • t: number

      The parameter (0 ≤ t ≤ 1).

    • p0: number

      The first control point.

    • p1: number

      The second control point.

    • p2: number

      The third control point.

    Returns number

    The value of the quadratic Bézier curve at the given parameter t.