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

Method DrawTriangleWire

extensions/olcPGEX_Graphics3D.h:665–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663 }
664
665 void GFX3D::DrawTriangleWire(olc::GFX3D::triangle &tri, olc::Pixel col)
666 {
667 pge->DrawTriangle((int32_t)tri.p[0].x, (int32_t)tri.p[0].y, (int32_t)tri.p[1].x, (int32_t)tri.p[1].y, (int32_t)tri.p[2].x, (int32_t)tri.p[2].y, col);
668 }
669
670 void GFX3D::TexturedTriangle(int x1, int y1, float u1, float v1, float w1,
671 int x2, int y2, float u2, float v2, float w2,

Callers

nothing calls this directly

Calls 1

DrawTriangleMethod · 0.45

Tested by

no test coverage detected