[Committed] get intersection-point in TrianglePickData

Hola, I would like to add a getter for the intersection-point in TrianglePickData. Actually I always

calculated the point where the ray broke through the TriangleMesh but found the intersection already been

available (as private data). Or is there something I don't get here? If not here would be my patch:


Index: src/com/jme/intersection/TrianglePickData.java
===================================================================
--- src/com/jme/intersection/TrianglePickData.java   (revision 4557)
+++ src/com/jme/intersection/TrianglePickData.java   (working copy)
@@ -127,4 +127,10 @@
 //        logger.warning("Couldn't detect nearest triangle intersection!");
       return Float.POSITIVE_INFINITY;
    }
+
+   public Vector3f getIntersectionPoint() {
+      return intersectionPoint;
+   }
+   
+   
 }



Have a nice day,
ToM

Nice add, I can see more than one possible uses for this

Can you commit it? I don't have write-access for svn. Thx