From 03e9226b5f6c3fe4d113759b3a023ee92d7b2d4f Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 19 Jul 2024 22:57:31 +0300 Subject: GetRayBoxCells. --- ReiLua_API.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 5a69d0e..2038d70 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -5137,6 +5137,14 @@ 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{} +---@param ray any +---@param box any +---@param cellSize table +---@return any cells +function RL.GetRayBoxCells( ray, box, cellSize ) end + -- Audio - Audio device management functions ---Initialize audio device and context -- cgit v1.2.3