MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ofTriangle

Function ofTriangle

Source/OpenFrameworksPort.cpp:571–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571void ofTriangle(float x1, float y1, float x2, float y2, float x3, float y3)
572{
573 ofBeginShape();
574 ofVertex(x1, y1);
575 ofVertex(x2, y2);
576 ofVertex(x3, y3);
577 ofVertex(x1, y1);
578 ofEndShape();
579}
580
581float ofRectangle::getMinX() const
582{

Callers 3

RenderMethod · 0.85
RenderMethod · 0.85
DrawFrameMethod · 0.85

Calls 3

ofBeginShapeFunction · 0.85
ofVertexFunction · 0.85
ofEndShapeFunction · 0.85

Tested by

no test coverage detected