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

Method EnableScaleClamp

extensions/olcPGEX_TransformedView.h:296–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 }
295
296 void TransformedView::EnableScaleClamp(const bool bEnable)
297 {
298 m_bZoomClamp = bEnable;
299 }
300
301 void TransformedView::ZoomAtScreenPos(const float fDeltaZoom, const olc::vi2d& vPos)
302 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected