diff options
author | Chien Yang <[email protected]> | 2005-11-09 21:09:15 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2005-11-09 21:09:15 +0000 |
commit | 96e575b34c9f86538146608aa0426096b9c323e7 (patch) | |
tree | eb458cad3fa80cd146c0385ba463763b7a22c13c /src | |
parent | 707f8e66bba7c979a2095842fcc7f73bc311bf25 (diff) |
Fixed issue 186 : Using new Pick API with PickSegment often returns null
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@458 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/GeometryArrayRetained.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/classes/share/javax/media/j3d/GeometryArrayRetained.java b/src/classes/share/javax/media/j3d/GeometryArrayRetained.java index dcc380c..5ef8ac1 100644 --- a/src/classes/share/javax/media/j3d/GeometryArrayRetained.java +++ b/src/classes/share/javax/media/j3d/GeometryArrayRetained.java @@ -8003,12 +8003,7 @@ abstract class GeometryArrayRetained extends GeometryRetained{ direction.z = end.z - start.z; result = intersectRayOrSegment(coordinates, direction, start, dist, iPnt, true); freeVector3d(direction); - if((result == true) && (dist[0] <= 1.0)) { - return true; - } - - return false; - + return result; } |