Package limn.render3d
Class Picker
java.lang.Object
limn.render3d.Picker
CPU ray picking. For each
Pickable: a world-space AABB broadphase, then
the ray is transformed into mesh-local space and tested triangle-by-triangle
(Möller–Trumbore). Returns the nearest hit, or null for a miss. Good for
up to thousands of objects; a GPU id-buffer path can come later for scale.-
Method Summary
Modifier and TypeMethodDescriptionstatic PickResultThe nearest hit along the ray, or a miss when nothing intersects.
-
Method Details
-
pick
The nearest hit along the ray, or a miss when nothing intersects.
-