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

Method GetTopLeftTile

extensions/olcPGEX_TransformedView.h:743–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741
742
743 olc::vi2d TileTransformedView::GetTopLeftTile() const
744 {
745 return ScreenToWorld({ 0,0 }).floor();
746 }
747
748 olc::vi2d TileTransformedView::GetBottomRightTile() const
749 {

Callers

nothing calls this directly

Calls 1

floorMethod · 0.45

Tested by

no test coverage detected