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

Method DrawLineDecal

olcPixelGameEngine.h:3790–3796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3788 }
3789
3790 void PixelGameEngine::DrawLineDecal(const olc::vf2d& pos1, const olc::vf2d& pos2, Pixel p)
3791 {
3792 auto m = nDecalMode;
3793 nDecalMode = olc::DecalMode::WIREFRAME;
3794 DrawPolygonDecal(nullptr, { pos1, pos2 }, { {0, 0}, {0,0} }, p);
3795 nDecalMode = m;
3796 }
3797
3798 void PixelGameEngine::DrawRectDecal(const olc::vf2d& pos, const olc::vf2d& size, const olc::Pixel col)
3799 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected