cf_cast_ray¶
Category: collision
GitHub: cute_math.h
Casts a ray onto a shape.
| Parameters | Description |
|---|---|
A |
The ray. |
B |
The shape. |
typeB |
The CF_ShapeType of the shape B. |
out |
Can be NULL. CF_Raycast results are placed here (contains normal + time of impact). |
Return Value¶
Returns true if the ray hit the shape.