| 299 | } |
| 300 | |
| 301 | void ExtractZoomFactors(ScreenBase const & s, double & zoom, int & index, float & lerpCoef) |
| 302 | { |
| 303 | double const zoomLevel = GetZoomLevel(s.GetScale()); |
| 304 | zoom = trunc(zoomLevel); |
| 305 | index = static_cast<int>(zoom - 1.0); |
| 306 | lerpCoef = static_cast<float>(zoomLevel - zoom); |
| 307 | } |
| 308 | |
| 309 | double GetNormalizedZoomLevel(double screenScale, int minZoom) |
| 310 | { |
no test coverage detected