From 3471e4514ffae28cab3fb926c86e5bf461723ac9 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 9 Apr 2025 00:34:19 +0300 Subject: RectPack. --- API.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'API.md') 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 --- -- cgit v1.2.3