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

Method FillTriangle

olcPixelGameEngine.h:3051–3054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3049 }
3050
3051 void PixelGameEngine::FillTriangle(const olc::vi2d& pos1, const olc::vi2d& pos2, const olc::vi2d& pos3, Pixel p)
3052 {
3053 FillTriangle(pos1.x, pos1.y, pos2.x, pos2.y, pos3.x, pos3.y, p);
3054 }
3055
3056 // https://www.avrfreaks.net/sites/default/files/triangles.c
3057 void PixelGameEngine::FillTriangle(int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t x3, int32_t y3, Pixel p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected