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

Method SetScaleExtents

extensions/olcPGEX_TransformedView.h:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 void TransformedView::SetScaleExtents(const olc::vf2d& vScaleMin, const olc::vf2d& vScaleMax)
291 {
292 m_vMaxScale = vScaleMax;
293 m_vMinScale = vScaleMin;
294 }
295
296 void TransformedView::EnableScaleClamp(const bool bEnable)
297 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected