update doc

This commit is contained in:
Fabien Freling 2022-02-18 13:19:31 +01:00
parent d54a231f91
commit c8c95739b2
2 changed files with 18 additions and 25 deletions

View file

@ -28,6 +28,9 @@ void blit(const Frame& in_frame,
}
}
// This packer is based on the "row packing" approach as described by David
// Colson in his article:
// https://www.david-colson.com/2020/03/10/exploring-rect-packing.html
std::optional<Frame> pack(const Frame& in_frame,
const std::vector<BoundingBox>& bboxes,
std::vector<BoundingBox>& packed_bboxes) {