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. --- ReiLua_API.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 2038d70..23977b0 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -5137,12 +5137,13 @@ function RL.GetRayCollisionTriangle( ray, p1, p2, p3 ) end ---@return any rayCollision function RL.GetRayCollisionQuad( ray, p1, p2, p3, p4 ) end ----Get cell positions inside box that intersect with the ray. Returns empty table if ray misses the box ----- Success return Vector3{} +---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{}, RayCollision|nil ---@param ray any ---@param box any ---@param cellSize table ----@return any cells +---@return any cells +---@return any exitPoint function RL.GetRayBoxCells( ray, box, cellSize ) end -- Audio - Audio device management functions -- cgit v1.2.3