| 811 | } |
| 812 | |
| 813 | Float2 SDLWindow::ScreenToClient(const Float2& screenPos) const |
| 814 | { |
| 815 | Int2 position = GetSDLWindowScreenPosition(this); |
| 816 | return screenPos - Float2(static_cast<float>(position.X), static_cast<float>(position.Y)); |
| 817 | } |
| 818 | |
| 819 | Float2 SDLWindow::ClientToScreen(const Float2& clientPos) const |
| 820 | { |
no test coverage detected