RayCast3d
RayCast3d
- origin : glam::Vec3A
- direction : bevy_math::direction::Dir3A
- max : f32
- direction_recip : glam::Vec3A
Description
A raycast intersection test for 3D bounding volumes
Functions
Function | Summary |
---|---|
aabb_intersection_at(_self, aabb) | Get the distance of an intersection with an [`Aabb3d`], if any. |
clone(_self) | No Documentation 🚧 |
direction_recip(_self) | Get the cached multiplicative inverse of the direction of the ray. |
from_ray(ray, max) | Construct a [`RayCast3d`] from a [`Ray3d`] and max distance. |
sphere_intersection_at(_self, sphere) | Get the distance of an intersection with a [`BoundingSphere`], if any. |