hlfw.ca

binpack

Download patch

ref: 77ce286ba25181f01811d04e556f374a73208a31
parent: 3098cb43c056b90b56247b6b313e0e3c98a1b417
author: Halfwit <michaelmisch1985@gmail.com>
date: Wed Oct 25 06:39:39 PDT 2017

add comment

Signed-off-by: Halfwit <michaelmisch1985@gmail.com>

--- a/binpack.c
+++ b/binpack.c
@@ -3,8 +3,8 @@
 
 #include "binpack.h"
 
-void
-binary_bin_pack(unsigned width, unsigned height, struct Output out[], struct Input in[]) {
+// This will iterate through a binary-search style approach, varying the size between the minw/minh and maxw/maxh to try to find the largest set of rectangles to fill the bin
+void binary_bin_pack(unsigned width, unsigned height, struct Output out[], struct Input in[]) {
 
 }