simvx.graphics.picking.raycast_utils¶
Multi-ray casting helpers for batch intersection tests.
Module Contents¶
Functions¶
Compute world-space AABB from center position and half-extents. |
|
Cast rays against cubes, return first hit cube index per ray. |
|
Cast rays against cubes, return ALL hit cube indices per ray. |
Data¶
API¶
- simvx.graphics.picking.raycast_utils.__all__¶
[‘compute_aabb’, ‘cast_rays_single_hit’, ‘cast_rays_multi_hit’]
- simvx.graphics.picking.raycast_utils.compute_aabb(center: numpy.ndarray, half_extents: numpy.ndarray) tuple[numpy.ndarray, numpy.ndarray][source]¶
Compute world-space AABB from center position and half-extents.