aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/share/javax/media/j3d/GeometryArrayRetained.java7
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;
}