Added sprite shape functions
This commit is contained in:
35
doc/doc_files/getrayhit2d.html
Normal file
35
doc/doc_files/getrayhit2d.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>GetRayHit2D [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>sub GetRayHit2D( index, ByRef spr_id, ByRef x, ByRef y, ByRef normal_x, ByRef normal_y ) </h2></p>
|
||||
<p>
|
||||
This function will get the collision point and the normal of a ray hit.
|
||||
</p>
|
||||
<p>
|
||||
NOTES:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
CastRay2D or CastRay2D_All must be called prior to calling this function
|
||||
</li>
|
||||
<li>
|
||||
spr_id will return -1 if there was not a hit at the specified index
|
||||
</li>
|
||||
</ul>
|
||||
<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.html">CastRay2D</a>
|
||||
<a href="castray2d_all.html">CastRay2D_All</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user