GetRayBoxCells.

This commit is contained in:
jussi
2024-07-19 22:57:31 +03:00
parent c7b7975482
commit 03e9226b5f
10 changed files with 359 additions and 5 deletions

View File

@@ -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