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

Method FillRectDecal

extensions/olcPGEX_TransformedView.h:662–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660 }
661
662 void TransformedView::FillRectDecal(const olc::vf2d & pos, const olc::vf2d & size, const olc::Pixel col)
663 {
664 pge->FillRectDecal(WorldToScreen(pos), (size * m_vWorldScale).ceil(), col);
665 }
666
667 void TransformedView::DrawRectDecal(const olc::vf2d& pos, const olc::vf2d& size, const olc::Pixel col)
668 {

Callers 1

DrawDecalMethod · 0.45

Calls 1

ceilMethod · 0.45

Tested by

no test coverage detected