ColorKey now uses upper left corner when a value of -1 is used
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
#title CastRay2D [RCBasic Doc]
|
||||
#header function CastRay2D( from_x, from_y, to_x, to_y )
|
||||
|
||||
Cast a ray and get the closest hit on the ray
|
||||
|
||||
Returns 1 if there is a hit and 0 if not
|
||||
|
||||
NOTE: GetRayHit2D is used to read each hit
|
||||
|
||||
#ref GetRayHit3D CastRay3D CastRay3D_All CastRay2D_All GetRayHit2D
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
#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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
#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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
#title CastRay3D_All [RCBasic Doc]
|
||||
#header function CastRay3D_All( from_x, from_y, from_z, to_x, to_y, to_z )
|
||||
|
||||
Cast a ray and gets all hits on the ray
|
||||
|
||||
Returns the number of hits from the ray cast
|
||||
|
||||
NOTE: GetRayHit3D is used to read each hit
|
||||
|
||||
#ref GetRayHit3D CastRay3D CastRay2D CastRay2D_All GetRayHit2D
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
LIGHT_TYPE_POINT
|
||||
</li>
|
||||
<li>
|
||||
LIGHT_TYPE_POINT
|
||||
LIGHT_TYPE_DIRECTIONAL
|
||||
</li>
|
||||
<li>
|
||||
LIGHT_TYPE_POINT
|
||||
LIGHT_TYPE_SPOT
|
||||
<br><p>Related:
|
||||
<a href="setlighttype.html">SetLightType</a>
|
||||
</p>
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
#title GetRayHit2D [RCBasic Doc]
|
||||
#header sub GetRayHit2D( index, ByRef spr_id, ByRef x, ByRef y, ByRef normal_x, ByRef normal_y )
|
||||
|
||||
This function will get the collision point and the normal of a ray hit.
|
||||
|
||||
NOTES:
|
||||
#list ul
|
||||
#li CastRay2D or CastRay2D_All must be called prior to calling this function
|
||||
#li spr_id will return -1 if there was not a hit at the specified index
|
||||
#/list
|
||||
|
||||
#ref GetRayHit3D CastRay3D CastRay3D_All CastRay2D CastRay2D_All
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
#title GetRayHit3D [RCBasic Doc]
|
||||
#header sub GetRayHit3D( index, ByRef actor_id, ByRef x, ByRef y, ByRef z, ByRef normal_x, ByRef normal_y, ByRef normal_z )
|
||||
|
||||
This function will get the collision point and the normal of a ray hit.
|
||||
|
||||
NOTES:
|
||||
#list ul
|
||||
#li CastRay3D or CastRay3D_All must be called prior to calling this function
|
||||
#li actor_id will return -1 if there was not a hit at the specified index
|
||||
#/list
|
||||
|
||||
#ref CastRay3D CastRay3D_All CastRay2D CastRay2D_All GetRayHit2D
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
LIGHT_TYPE_POINT
|
||||
</li>
|
||||
<li>
|
||||
LIGHT_TYPE_POINT
|
||||
LIGHT_TYPE_DIRECTIONAL
|
||||
</li>
|
||||
<li>
|
||||
LIGHT_TYPE_POINT
|
||||
LIGHT_TYPE_SPOT
|
||||
<br><p>Related:
|
||||
<a href="setlighttype.html">SetLightType</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user