MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / DrawTriangle

Method DrawTriangle

extensions/olcPGEX_TransformedView.h:464–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462 }
463
464 void TransformedView::DrawTriangle(float x1, float y1, float x2, float y2, float x3, float y3, olc::Pixel p)
465 {
466 DrawTriangle({ x1, y1 }, { x2, y2 }, { x3, y3 }, p);
467 }
468
469 void TransformedView::DrawTriangle(const olc::vf2d & pos1, const olc::vf2d & pos2, const olc::vf2d & pos3, olc::Pixel p)
470 {

Callers 1

DrawTriangleWireMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected