| 4 | |
| 5 | namespace Packing { |
| 6 | struct Rect { |
| 7 | i32 x { 0 }; |
| 8 | i32 y { 0 }; |
| 9 | |
| 10 | i32 w { 0 }; |
| 11 | i32 h { 0 }; |
| 12 | |
| 13 | bool wasPacked { false }; |
| 14 | |
| 15 | i32 ordering { -1 }; |
| 16 | }; |
| 17 | |
| 18 | void RowPackRects(ResizableArray<Rect>& rects, i32 width, i32 height); |
| 19 | void SkylinePackRects(Arena* pScratchMem, ResizableArray<Rect>& rects, i32 width, i32 height); |
nothing calls this directly
no outgoing calls
no test coverage detected