Crates.io | rect_packer |
lib.rs | rect_packer |
version | 0.2.1 |
source | src |
created_at | 2016-07-17 20:29:05.877359 |
updated_at | 2017-09-22 20:11:21.390342 |
description | A rectangle packing library. Heavily tested with random data to ensure that it always produces correct result. |
homepage | https://github.com/kryptan/rect_packer |
repository | https://github.com/kryptan/rect_packer.git |
max_upload_size | |
id | 5697 |
size | 24,030 |
Pack multiple rectangles into a larger one. Can be used for packing sprites into a texture for 2d games. Uses skyline heuristic. Heavily tested with random data to ensure that it always produces correct result.