code: public void set(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) {
          this.points[0] = x1;
          this.points[1] = y1;
          this.points[2] = 0;
          this.points[3] = x2;
          this.points[4] = y2;
          this.points[5] = 0;
          this.points[6] = x3;
          this.points[7] = y3;
          this.points[8] = 0;
          this.points[9] = x4;
          this.points[10] = y4;
          this.points[11] = 0;
          set();
      }
docs: Sets coordinates for the anchor and control points.
  
  @param x1 The coordinate x for the first anchor point.
  @param y1 The coordinate y for the first anchor point.
  @param x2 The coordinate x for the first control point.
  @param y2 The coordinate y for the first control point.
  @param x3 The coordinate x for the second control point.
  @param y3 The coordinate y for the second control point.
  @param x4 The coordinate x for the second anchor point.
  @param y4 The coordinate y for the second anchor point.