CF_Raycast¶
Category: math
GitHub: cute_math.h
The results for a 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. |
CF_V2 n |
Normal of surface at impact (unit length). |
Related Pages¶
cf_ray_to_poly
cf_ray_to_halfspace
cf_ray_to_circle
cf_ray_to_aabb
cf_ray_to_capsule