The nearest zoom to zoom at which tileSize * zoom is a whole number of device pixels
(resolution device pixels per screen pixel, default 1) -
the pure math behind CameraOptions.pixelPerfectTileSize, exported so a game can snap a
zoom value (from a slider, say) before ever handing it to a Camera.
The nearest zoom to
zoomat whichtileSize * zoomis a whole number of device pixels (resolutiondevice pixels per screen pixel, default 1) - the pure math behindCameraOptions.pixelPerfectTileSize, exported so a game can snap a zoom value (from a slider, say) before ever handing it to aCamera.