From c6eb85b3674c36cfc426486d866a78dfc5452ae0 Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 20 Jul 2024 15:29:50 +0300 Subject: GetRayBoxCells also returns exit point. --- API.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'API.md') 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 --- -- cgit v1.2.3