summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-07-20 15:29:50 +0300
committerjussi2024-07-20 15:29:50 +0300
commitc6eb85b3674c36cfc426486d866a78dfc5452ae0 (patch)
tree2682f880b3254bf1901556da809f5475b2693ccc /API.md
parent03e9226b5f6c3fe4d113759b3a023ee92d7b2d4f (diff)
downloadreilua-enhanced-c6eb85b3674c36cfc426486d866a78dfc5452ae0.tar.gz
reilua-enhanced-c6eb85b3674c36cfc426486d866a78dfc5452ae0.tar.bz2
reilua-enhanced-c6eb85b3674c36cfc426486d866a78dfc5452ae0.zip
GetRayBoxCells also returns exit point.
Diffstat (limited to 'API.md')
-rw-r--r--API.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/API.md b/API.md
index b6479ac..8aa943f 100644
--- a/API.md
+++ b/API.md
@@ -7989,11 +7989,11 @@ Get collision info between ray and quad
---
-> cells = RL.GetRayBoxCells( Ray ray, BoundingBox box, Vector3 cellSize )
+> cells, exitPoint = RL.GetRayBoxCells( Ray ray, BoundingBox box, Vector3 cellSize )
-Get cell positions inside box that intersect with the ray. Returns empty table if ray misses the box
+Get cell positions inside box that intersect with the ray. Also returns ray exit point. Returns empty table if ray misses the box
-- Success return Vector3{}
+- Success return Vector3{}, RayCollision|nil
---