summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2025-04-09 00:34:19 +0300
committerjussi2025-04-09 00:34:19 +0300
commit3471e4514ffae28cab3fb926c86e5bf461723ac9 (patch)
treea1fda2f7c82eb360cc897a60e52519b168791b78 /API.md
parentd0bfd1f71d852eb55ec0e94792a02c7291080633 (diff)
downloadreilua-enhanced-3471e4514ffae28cab3fb926c86e5bf461723ac9.tar.gz
reilua-enhanced-3471e4514ffae28cab3fb926c86e5bf461723ac9.tar.bz2
reilua-enhanced-3471e4514ffae28cab3fb926c86e5bf461723ac9.zip
RectPack.
Diffstat (limited to 'API.md')
-rw-r--r--API.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/API.md b/API.md
index f1bf974..a96744c 100644
--- a/API.md
+++ b/API.md
@@ -6975,6 +6975,14 @@ Get collision rectangle for two rectangles collision
---
+> rects{} = RL.RectPack( Rectangle{} rects, Vector2 size, int padding )
+
+Useful for e.g. packing rectangular textures into an atlas. stbrp_pack_rects
+
+- Success return Rectangle{}
+
+---
+
## Textures - Image loading functions
---