diff options
author | Sven Gothel <sgothel@jausoft.com> | 2014-04-09 08:31:41 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2014-04-09 08:31:41 +0200 |
commit | be8d0765317cdcb44bbe3016cc18273ecace9324 (patch) | |
tree | 912d5fe2c0b1851578890546ba0e05d6d1296b9a /src/jogl/classes/com/jogamp/opengl/math/Ray.java | |
parent | 0234452455511713fcbfd5df1987c3958cca781b (diff) |
Add AABBox.getRayIntersection(..), VectorUtil.line2PlaneIntersection(..) incl. getNormal*(..) and getPlane*(..)
AABBox.getRayIntersection(..) provides the intersecting coordinates,
where the fast alternative AABBox.intersectsRay(..) does not.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/math/Ray.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/math/Ray.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/math/Ray.java b/src/jogl/classes/com/jogamp/opengl/math/Ray.java index 3fe7dd3b1..0daca2504 100644 --- a/src/jogl/classes/com/jogamp/opengl/math/Ray.java +++ b/src/jogl/classes/com/jogamp/opengl/math/Ray.java @@ -41,7 +41,7 @@ import com.jogamp.opengl.math.geom.AABBox; * </p> * <p> * A {@link Ray} maybe used for <i>picking</i> - * using a {@link AABBox#intersectsRay(Ray, float[]) bounding box}. + * using a {@link AABBox#getRayIntersection(Ray, float[]) bounding box}. * </p> */ public class Ray { |