Ixnay on the verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3621 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -76,7 +76,7 @@ public class GodViewHandler extends InputHandler
|
|||||||
*/
|
*/
|
||||||
public void setZoomLevel (float level)
|
public void setZoomLevel (float level)
|
||||||
{
|
{
|
||||||
Log.info("Zoom " + level + " " + _camera.getLocation());
|
// Log.info("Zoom " + level + " " + _camera.getLocation());
|
||||||
level = Math.max(0f, Math.min(level, 1f));
|
level = Math.max(0f, Math.min(level, 1f));
|
||||||
_camera.getLocation().z = _minZ + (_maxZ - _minZ) * level;
|
_camera.getLocation().z = _minZ + (_maxZ - _minZ) * level;
|
||||||
_camera.update();
|
_camera.update();
|
||||||
|
|||||||
Reference in New Issue
Block a user