| 372 | } |
| 373 | |
| 374 | bool TransformedView::IsPointVisible(const olc::vf2d & vPos) const |
| 375 | { |
| 376 | olc::vi2d vScreen = WorldToScreen(vPos); |
| 377 | return vScreen.x >= 0 && vScreen.x < m_vViewArea.x&& vScreen.y >= 0 && vScreen.y < m_vViewArea.y; |
| 378 | } |
| 379 | |
| 380 | bool TransformedView::IsRectVisible(const olc::vf2d& vPos, const olc::vf2d& vSize) const |
| 381 | { |
nothing calls this directly
no outgoing calls
no test coverage detected