MCPcopy Index your code
hub / github.com/processing/processing / triangle

Method triangle

core/src/processing/core/PApplet.java:12058–12062  ·  view source on GitHub ↗

( begin auto-generated from triangle.xml ) A triangle is a plane created by connecting three points. The first two arguments specify the first point, the middle two arguments specify the second point, and the last two arguments specify the third point. ( end auto-generated ) @webref shape:2d_primi

(float x1, float y1, float x2, float y2,
                       float x3, float y3)

Source from the content-addressed store, hash-verified

12056 * @see PApplet#beginShape()
12057 */
12058 public void triangle(float x1, float y1, float x2, float y2,
12059 float x3, float y3) {
12060 if (recorder != null) recorder.triangle(x1, y1, x2, y2, x3, y3);
12061 g.triangle(x1, y1, x2, y2, x3, y3);
12062 }
12063
12064
12065 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected