30 lines
733 B
HTML
30 lines
733 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
|
<title>CastRay2D [RCBasic Doc] </title>
|
|
</head>
|
|
|
|
<body>
|
|
<p><h2>function CastRay2D( from_x, from_y, to_x, to_y ) </h2></p>
|
|
<p>
|
|
Cast a ray and get the closest hit on the ray
|
|
</p>
|
|
<p>
|
|
Returns 1 if there is a hit and 0 if not
|
|
</p>
|
|
<p>
|
|
NOTE: GetRayHit2D is used to read each hit
|
|
</p>
|
|
<br><p>Related:
|
|
<a href="getrayhit3d.html">GetRayHit3D</a>
|
|
<a href="castray3d.html">CastRay3D</a>
|
|
<a href="castray3d_all.html">CastRay3D_All</a>
|
|
<a href="castray2d_all.html">CastRay2D_All</a>
|
|
<a href="getrayhit2d.html">GetRayHit2D</a>
|
|
</p>
|
|
<p>
|
|
|
|
</body>
|
|
</html> |