compute First Intersection
fun computeFirstIntersection(globe: Globe, ray: Line, transformedPoints: List<List<Vec3>>, eyePoint: Vec3): Position?
Computes intersections between a ray and transformed triangle points.
Parameters
globe
The globe to use for coordinate conversions
ray
The ray to test
transformed Points
Array of transformed triangle points
eye Point
The eye point for distance calculations