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

Method DrawTriangle

olcPixelGameEngine.h:3039–3042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3037 }
3038
3039 void PixelGameEngine::DrawTriangle(const olc::vi2d& pos1, const olc::vi2d& pos2, const olc::vi2d& pos3, Pixel p)
3040 {
3041 DrawTriangle(pos1.x, pos1.y, pos2.x, pos2.y, pos3.x, pos3.y, p);
3042 }
3043
3044 void PixelGameEngine::DrawTriangle(int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t x3, int32_t y3, Pixel p)
3045 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected