Commit Graph

33 Commits (ff63404c3d7fad47136c6b982781d27300d55cef)

Author SHA1 Message Date
Fabian Giesen 5ebeb38edb stb_rect_pack: Remove unused rect_width_compare().
Fixes #416.
2017-07-22 20:25:57 -07:00
Sean Barrett e895f6d3af tweak previous PR merge 2017-03-03 10:07:16 -08:00
Sean Barrett 9009ae042e Merge branch 'rect-pack-fail' of https://github.com/IntellectualKitty/stb into working 2017-03-03 10:04:44 -08:00
Sean Barrett e248e30954 change license to public-domain AND mit (based on twitter vote) 2017-03-03 07:53:07 -08:00
IntellectualKitty 07fefa384a Return all_rects_packed status from stbrp_pack_rects. 2016-11-30 13:24:38 -07:00
Sean Barrett 996ccf2159 update version numbers 2016-10-25 08:53:48 -07:00
Sean Barrett 5d9423f8fd fix -Wcast-qual in stb_rect_pack, stb_textedit, stb_truetype 2016-10-25 08:50:44 -07:00
Sean Barrett 6f72440159 bump version numbers 2016-08-27 12:38:09 -07:00
Sean Barrett 19c9615e90 rect_pack patch;
fix typo in stb_textedit
2016-08-27 12:36:26 -07:00
cosmy1 4e758682b0 Minor fixes. 2016-08-27 12:35:20 -07:00
Craig Donner ee6978cb68 Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable. 2016-02-25 12:55:44 -08:00
Sean Barrett 8b7b845c4e bump version number 2015-09-13 16:13:16 -07:00
Sean Barrett b74da797af properly fix stb_rect_pack;
tweak formatting of FAQ list
2015-09-13 16:07:49 -07:00
Sean Barrett 83d36fd28a fix bug in handling rectangle with width or height of 0 2015-09-13 11:17:13 -07:00
Ryan Whitworth 7effe64e45 Added public domain license text 2015-08-01 14:55:35 -04:00
Sean Barrett e927c3a07a rename to STBRP_SORT for STBRP_ASSERT consistency;
version number, credits
2015-04-15 02:58:00 -07:00
unknown 8bfd635220 Allow to replace qsort function with custom implementation 2015-03-20 15:01:53 -07:00
Sean Barrett 34eec7cc5d Merge branch 'oversample_shift' of https://github.com/rygorous/stb 2014-12-08 20:00:18 -08:00
Sean Barrett d1c85eac78 update version numbers 2014-12-08 19:58:51 -08:00
Sean Barrett 97037461d9 stb_truetype:
STBTT_POINT_SIZE
   documentation for above

stb_rect_pack:
   STBRP_ASSERT
2014-12-08 19:56:39 -08:00
Fabian Giesen d9e121f4c7 stb_rect_pack: Fix implicit conversion warnings. 2014-12-08 19:53:12 -08:00
Fabian Giesen ffbea74703 stb_rect_pack.h: Impl must include assert.h 2014-12-08 19:39:49 -08:00
Sean Barrett 22dbcffef7 stbtt_Pack* documentation
oversample test tweaks
2014-12-06 23:00:59 -08:00
Sean Barrett f03e352093 stb_rect_pack: fix LARGE_RECT bug
stb_truetype: oversampling, including oversampling demo app
2014-12-06 12:28:46 -08:00
Sean Barrett 37c95d8d55 add internal version number for use by stb_truetype 2014-12-02 02:59:05 -08:00
Sean Barrett 99198d044f Merge branch 'working' 2014-11-25 15:32:43 -08:00
Sean Barrett e9151589ca duh, best-fit should tiebreak using waste, not prioritize waste (which makes bizarre towers) 2014-11-25 15:32:08 -08:00
nothings 36ef8be0be fix typo 2014-11-24 18:56:56 -08:00
Sean Barrett 2c56e11c59 doc tweaks 2014-11-24 18:21:36 -08:00
Sean Barrett a9e1f96765 rename 'stbrp_init_packer' to 'stbrp_init_target' since it must be called for every target;
clean up docs
2014-11-24 18:20:13 -08:00
Sean Barrett 8d3ef72e3c fixed bugs related to the best-fit heuristic 2014-11-24 18:12:46 -08:00
Sean Barrett 0c10e7c40e tested & debugged on two cases (both heuristics); unknown if BF is *correct*. 2014-11-24 17:47:06 -08:00
Sean Barrett b09f8186dc non-working rectangle packer 2014-11-24 16:06:46 -08:00