OSDN Git Service

'fixed' issue 1337 by adding javadoc :/
authorbadlogic <badlogicgames@gmail.com>
Sat, 4 May 2013 19:03:57 +0000 (21:03 +0200)
committerbadlogic <badlogicgames@gmail.com>
Sat, 4 May 2013 19:03:57 +0000 (21:03 +0200)
gdx/src/com/badlogic/gdx/graphics/OrthographicCamera.java

index 682b753..e01a88c 100644 (file)
@@ -33,7 +33,7 @@ public class OrthographicCamera extends Camera {
        }\r
 \r
        /** Constructs a new OrthographicCamera, using the given viewport width and height. For pixel perfect 2D rendering just supply\r
-        * the screen size, for other unit scales (e.g. meters for box2d) proceed accordingly.\r
+        * the screen size, for other unit scales (e.g. meters for box2d) proceed accordingly. The camera will show the region [-viewportWidth/2, -viewportHeight / 2]- [viewportWidth/2, viewportHeight/2]\r
         * \r
         * @param viewportWidth the viewport width\r
         * @param viewportHeight the viewport height */\r
@@ -45,7 +45,7 @@ public class OrthographicCamera extends Camera {
        }\r
 \r
        /** Constructs a new OrthographicCamera, using the given viewport width and height. This will create a camera useable for\r
-        * iso-metric views. The diamond angle is specifies the angle of a tile viewed isometrically.\r
+        * iso-metric views. The diamond angle is specifies the angle of a tile viewed isometrically. \r
         * \r
         * @param viewportWidth the viewport width\r
         * @param viewportHeight the viewport height\r