Uses of Class
com.marginallyclever.convenience.Ray
Package
Description
-
Uses of Ray in com.marginallyclever.convenience
Modifier and TypeMethodDescriptionboolean
double
Plane.intersectDistance
(Ray ray) finds the intersection of a ray and this plane.void
Set this ray to be a copy of another ray. -
Uses of Ray in com.marginallyclever.convenience.helpers
Modifier and TypeMethodDescriptionstatic double
find distance to box, if hit.static double
Returns the distance to the plane, or Double.MAX_VALUE if there is no intersection.static double
ray/sphere intersection.static double
IntersectionHelper.rayTriangle
(Ray ray, javax.vecmath.Vector3d v0, javax.vecmath.Vector3d v1, javax.vecmath.Vector3d v2) The implementation uses the Möller–Trumbore intersection algorithm to compute the intersection between a ray and a triangle. -
Uses of Ray in com.marginallyclever.ro3.apps.viewport
Modifier and TypeMethodDescriptionViewport.getRayThroughPoint
(Camera camera, double x, double y) Return the ray coming through the viewport in the current projection. -
Uses of Ray in com.marginallyclever.ro3.mesh
-
Uses of Ray in com.marginallyclever.ro3.node.nodes.pose
-
Uses of Ray in com.marginallyclever.ro3.raypicking
Modifier and TypeMethodDescriptionRayPickSystem.findRayIntersections
(Ray ray) Traverse the sceneNode
s and find all theMeshInstance
s that collide with the ray.RayPickSystem.getFirstHit
(Ray ray) Traverse the scene Entities and find the nearestMeshInstance
that collides with the ray.