addQuadraticBezierCurveTo method

void addQuadraticBezierCurveTo(
  1. Vector3 handle,
  2. Vector3 anchor
)

Implementation

void addQuadraticBezierCurveTo(Vector3 handle, Vector3 anchor) {
  addCubicBezierCurveTo(
    handle * (2 / 3) + getLastPoint() * (1 / 3),
    handle * (2 / 3) + anchor * (1 / 3),
    anchor,
  );
}