21 Commits (b74da797af656330628d359876959cbb5aa12b26)

Author SHA1 Message Date
Sean Barrett b74da797af properly fix stb_rect_pack; ago%!(EXTRA string=10 years)
Sean Barrett 83d36fd28a fix bug in handling rectangle with width or height of 0 ago%!(EXTRA string=10 years)
Ryan Whitworth 7effe64e45 Added public domain license text ago%!(EXTRA string=10 years)
Sean Barrett e927c3a07a rename to STBRP_SORT for STBRP_ASSERT consistency; ago%!(EXTRA string=10 years)
unknown 8bfd635220 Allow to replace qsort function with custom implementation ago%!(EXTRA string=10 years)
Sean Barrett d1c85eac78 update version numbers ago%!(EXTRA string=11 years)
Sean Barrett 97037461d9 stb_truetype: ago%!(EXTRA string=11 years)
Fabian Giesen d9e121f4c7 stb_rect_pack: Fix implicit conversion warnings. ago%!(EXTRA string=11 years)
Fabian Giesen ffbea74703 stb_rect_pack.h: Impl must include assert.h ago%!(EXTRA string=11 years)
Sean Barrett 22dbcffef7 stbtt_Pack* documentation ago%!(EXTRA string=11 years)
Sean Barrett f03e352093 stb_rect_pack: fix LARGE_RECT bug ago%!(EXTRA string=11 years)
Sean Barrett 37c95d8d55 add internal version number for use by stb_truetype ago%!(EXTRA string=11 years)
Sean Barrett e9151589ca duh, best-fit should tiebreak using waste, not prioritize waste (which makes bizarre towers) ago%!(EXTRA string=11 years)
nothings 36ef8be0be fix typo ago%!(EXTRA string=11 years)
Sean Barrett 2c56e11c59 doc tweaks ago%!(EXTRA string=11 years)
Sean Barrett a9e1f96765 rename 'stbrp_init_packer' to 'stbrp_init_target' since it must be called for every target; ago%!(EXTRA string=11 years)
Sean Barrett 8d3ef72e3c fixed bugs related to the best-fit heuristic ago%!(EXTRA string=11 years)
Sean Barrett 0c10e7c40e tested & debugged on two cases (both heuristics); unknown if BF is *correct*. ago%!(EXTRA string=11 years)
Sean Barrett b09f8186dc non-working rectangle packer ago%!(EXTRA string=11 years)