CF_Raycast3¶
Category: math
GitHub: cute_math3d.h
The results for a 3d raycast query.
| Struct Members | Description |
|---|---|
bool hit |
True if the ray hit. When this is false then members t and n are zero'd out. |
float t |
Time of impact, as a distance along the ray's direction. |
CF_V3 n |
Normal of surface at impact (unit length). |
Related Pages¶
CF_Ray3
cf_ray3_to_aabb3
cf_ray3_to_sphere
cf_ray3_to_plane3