Files
RCBASIC4/doc/files/castray2d_all.txt
2026-02-26 15:33:51 -06:00

12 lines
292 B
Plaintext

#title CastRay2D_All [RCBasic Doc]
#header Function CastRay2D_All( from_x, from_y, to_x, to_y )
Cast a ray and gets all hits on the ray
Returns the number of hits from the ray cast
NOTE: GetRayHit2D is used to read each hit
#ref GetRayHit3D CastRay3D CastRay3D_All CastRay2D GetRayHit2D