gdl.graphics.camera
Convinience functions operating on com.badlogic.gdx.graphics.OrthographicCamera.
calculate-zoom
(calculate-zoom camera & {:keys [left top right bottom]})
Calculates the zoom value for camera to see all the 4 points.
Convinience functions operating on com.badlogic.gdx.graphics.OrthographicCamera.
(calculate-zoom camera & {:keys [left top right bottom]})
Calculates the zoom value for camera to see all the 4 points.