OSDN Git Service

docs: Update gluUnProject parameter description.
authorRicardo Loo <rloo@google.com>
Sat, 4 Feb 2017 00:38:01 +0000 (18:38 -0600)
committerRicardo Loo <rloo@google.com>
Sat, 4 Feb 2017 00:40:27 +0000 (18:40 -0600)
Adding missing variable in the output vector.

Originally reported in
http://code.google.com/p/android/issues/detail?id=25143

Change-Id: I91d9ce7e53a9d9cdd890899a0edd49830d533b9b

Bug: 5991013

opengl/java/android/opengl/GLU.java

index ed64556..ef9bf16 100644 (file)
@@ -203,8 +203,8 @@ public class GLU {
      * @param view the current view, {x, y, width, height}
      * @param viewOffset the offset into the view array where the view vector
      *        data starts.
-     * @param obj the output vector {objX, objY, objZ}, that returns the
-     *        computed object coordinates.
+     * @param obj the output vector {objX, objY, objZ, objW}, that returns the
+     *        computed homogeneous object coordinates.
      * @param objOffset the offset into the obj array where the obj vector data
      *        starts.
      * @return A return value of GL10.GL_TRUE indicates success, a return value