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

Method ScaleToWorld

extensions/olcPGEX_TransformedView.h:362–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 }
361
362 olc::vf2d TransformedView::ScaleToWorld(const olc::vf2d& vScreenSize) const
363 {
364 return (olc::vf2d(vScreenSize) / m_vWorldScale);
365 }
366
367 olc::vf2d TransformedView::ScaleToScreen(const olc::vf2d& vWorldSize) const
368 {

Callers 1

DrawModelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected