| 262 | } |
| 263 | |
| 264 | void TransformedView::SetWorldScale(const olc::vf2d& vScale) |
| 265 | { |
| 266 | m_vWorldScale = vScale; |
| 267 | if (m_bZoomClamp) m_vWorldScale = m_vWorldScale.clamp(m_vMinScale, m_vMaxScale); |
| 268 | } |
| 269 | |
| 270 | void TransformedView::SetViewArea(const olc::vi2d& vViewArea) |
| 271 | { |