* Takes care of pre-calculating all the polygons currently visible * on the globe and caching them so they only need to be recalculated * when the globe is actually moved. */
| 935 | * when the globe is actually moved. |
| 936 | */ |
| 937 | void Globe::cachePolygons() |
| 938 | { |
| 939 | cache(_game->getResourcePack()->getPolygons(), &_cacheLand); |
| 940 | } |
| 941 | |
| 942 | /** |
| 943 | * Caches a set of polygons. |
nothing calls this directly
no test coverage detected