From 8352cb7c5d8cc971c87f13fe9f61e346c4d2c541 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 16 Mar 2014 01:43:27 +0100 Subject: Add generic support for picking via raycast intersection and AABBox (or similar) - New simple type Ray, denominating a .. ray - Added PMVMatrix.gluUnProjectRay(..) similar to gluUnproject(..) however, result is a Ray. - Added AABBox.intersectsRay(Ray) .. --- src/jogl/classes/jogamp/opengl/ProjectFloat.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/ProjectFloat.java') diff --git a/src/jogl/classes/jogamp/opengl/ProjectFloat.java b/src/jogl/classes/jogamp/opengl/ProjectFloat.java index 788c845fd..2e5677bd4 100644 --- a/src/jogl/classes/jogamp/opengl/ProjectFloat.java +++ b/src/jogl/classes/jogamp/opengl/ProjectFloat.java @@ -586,7 +586,7 @@ public class ProjectFloat { * @param viewport * @param obj_pos * - * @return + * @return true if successful, otherwise false (failed to invert matrix, or becomes z is infinity) */ public boolean gluUnProject(float winx, float winy, float winz, float[] modelMatrix, int modelMatrix_offset, @@ -644,7 +644,7 @@ public class ProjectFloat { * @param viewport_offset * @param obj_pos * @param obj_pos_offset - * @return + * @return true if successful, otherwise false (failed to invert matrix, or becomes z is infinity) */ public boolean gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, @@ -700,7 +700,7 @@ public class ProjectFloat { * @param viewport * @param obj_pos * - * @return + * @return true if successful, otherwise false (failed to invert matrix, or becomes z is infinity) */ public boolean gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, @@ -762,7 +762,7 @@ public class ProjectFloat { * @param far * @param obj_pos * - * @return + * @return true if successful, otherwise false (failed to invert matrix, or becomes z is infinity) */ public boolean gluUnProject4(float winx, float winy, @@ -828,7 +828,7 @@ public class ProjectFloat { * @param far * @param obj_pos * - * @return + * @return true if successful, otherwise false (failed to invert matrix, or becomes z is infinity) */ public boolean gluUnProject4(float winx, float winy, -- cgit v1.2.3