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

Method FillTriangle

extensions/olcPGEX_TransformedView.h:474–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472 }
473
474 void TransformedView::FillTriangle(float x1, float y1, float x2, float y2, float x3, float y3, olc::Pixel p)
475 {
476 FillTriangle({ x1, y1 }, { x2, y2 }, { x3, y3 }, p);
477 }
478
479 void TransformedView::FillTriangle(const olc::vf2d & pos1, const olc::vf2d & pos2, const olc::vf2d & pos3, olc::Pixel p)
480 {

Callers 1

DrawTriangleFlatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected