MCPcopy Index your code
hub / github.com/benfry/processing4 / triangle

Method triangle

core/src/processing/core/PApplet.java:11353–11357  ·  view source on GitHub ↗

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. @webref shape:2d primitives @webBrief A triangle is a plane created by connecting three p

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

Source from the content-addressed store, hash-verified

11351 * @see PApplet#beginShape()
11352 */
11353 public void triangle(float x1, float y1, float x2, float y2,
11354 float x3, float y3) {
11355 if (recorder != null) recorder.triangle(x1, y1, x2, y2, x3, y3);
11356 g.triangle(x1, y1, x2, y2, x3, y3);
11357 }
11358
11359
11360 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected