OSDN Git Service

Update gdx/src/com/badlogic/gdx/math/Matrix4.java
authorPeter LaValle <peter.lavalle@gmail.com>
Sun, 27 Jan 2013 13:14:44 +0000 (13:14 +0000)
committerPeter LaValle <peter.lavalle@gmail.com>
Sun, 27 Jan 2013 13:14:44 +0000 (13:14 +0000)
improved the setToProjection() comment - noted on how to calculate the aspect ratio

gdx/src/com/badlogic/gdx/math/Matrix4.java

index a692a4c..ce21b40 100644 (file)
@@ -335,7 +335,7 @@ public class Matrix4 implements Serializable {
         * @param near The near plane\r
         * @param far The far plane\r
         * @param fov The field of view in degrees\r
-        * @param aspectRatio The aspect ratio\r
+        * @param aspectRatio The "width over height" aspect ratio\r
         * @return This matrix for the purpose of chaining methods together. */\r
        public Matrix4 setToProjection (float near, float far, float fov, float aspectRatio) {\r
                idt();\r