Files
RCBASIC4/doc/files/castray3d.txt

11 lines
303 B
Plaintext

#title CastRay3D [RCBasic Doc]
#header function CastRay3D( from_x, from_y, from_z, to_x, to_y, to_z )
Cast a ray and get the closest hit on the ray
Returns 1 if there is a hit and 0 if not
NOTE: GetRayHit3D is used to read each hit
#ref GetRayHit3D CastRay3D_All CastRay2D CastRay2D_All GetRayHit2D