CF_Ray3¶
Category: math
GitHub: cute_math3d.h
A 3d ray: a directional line segment from p along unit direction d for distance t.
| Struct Members | Description |
|---|---|
CF_V3 p |
Position. |
CF_V3 d |
Direction (normalized). |
float t |
Distance along d from position p to find endpoint of ray. |
Related Pages¶
cf_draw3d_unproject
CF_Raycast3
cf_make_ray3
cf_ray3_to_aabb3
cf_ray3_to_sphere
cf_ray3_to_plane3