ColorKey now uses upper left corner when a value of -1 is used

This commit is contained in:
n00b
2024-12-15 11:37:44 -05:00
parent 0e2253ad02
commit 39c5e4a9f2
11 changed files with 68 additions and 8 deletions

View File

@@ -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