diff options
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 47e4903..0d21202 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -3521,6 +3521,14 @@ function RL.CheckCollisionPointLine( point, p1, p2, threshold ) end ---@return any rectangle function RL.GetCollisionRec( rec1, rec2 ) end +---Useful for e.g. packing rectangular textures into an atlas. stbrp_pack_rects +---- Success return Rectangle{} +---@param rects table +---@param size table +---@param padding integer +---@return any rects{} +function RL.RectPack( rects, size, padding ) end + -- Textures - Image loading functions ---Load image from file into CPU memory (RAM) |
