summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2024-07-20 15:29:50 +0300
committerjussi2024-07-20 15:29:50 +0300
commitc6eb85b3674c36cfc426486d866a78dfc5452ae0 (patch)
tree2682f880b3254bf1901556da809f5475b2693ccc /ReiLua_API.lua
parent03e9226b5f6c3fe4d113759b3a023ee92d7b2d4f (diff)
downloadreilua-enhanced-c6eb85b3674c36cfc426486d866a78dfc5452ae0.tar.gz
reilua-enhanced-c6eb85b3674c36cfc426486d866a78dfc5452ae0.tar.bz2
reilua-enhanced-c6eb85b3674c36cfc426486d866a78dfc5452ae0.zip
GetRayBoxCells also returns exit point.
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua7
1 files changed, 4 insertions, 3 deletions
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