| 47 | } |
| 48 | |
| 49 | void IGraphics::MapScreenToInterface(float CenterX, float CenterY, float Zoom) |
| 50 | { |
| 51 | float aPoints[4]; |
| 52 | MapScreenToWorld(CenterX, CenterY, 100.0f, 100.0f, 100.0f, |
| 53 | 0, 0, ScreenAspect(), Zoom, aPoints); |
| 54 | MapScreen(aPoints[0], aPoints[1], aPoints[2], aPoints[3]); |
| 55 | } |