Updated docs and added constants to tracker

This commit is contained in:
n00b87
2026-02-26 15:33:51 -06:00
parent aa7667c838
commit 9dbb4b6b5f
2332 changed files with 6219 additions and 2761 deletions

View File

@@ -1,6 +1,7 @@
#title GetCircleLineIntersection [RCBasic Doc]
#header function GetCircleLineIntersection(circle_x, circle_y, radius, x1, y1, x2, y2, ByRef ix1, ByRef iy1, ByRef ix2, ByRef iy2)
#header Function GetCircleLineIntersection(circle_x, circle_y, radius, x1, y1, x2, y2, ByRef ix1, ByRef iy1, ByRef ix2, ByRef iy2)
Calculates the points where a circle and line intersect and stores the intersection points in (ix1, iy1) and (ix2, iy2)
NOTE: This function returns 0 if there is no intersection and 1 or 2 if there is 1 or 2 intersection points. If it only returns 1 then only (ix1, iy1) will be set.