void triangle(num x1, num y1, num x2, num y2, num x3, num y3) { beginShape(); vertex(x1, y1); vertex(x2, y2); vertex(x3, y3); endShape(); }