stb_rect_pack: Several minor fixes
1. Always use large rects mode to avoid definition of stbrp_coord in header file depending on implementation #defines 2. Expose STBRP__MAXVAL to users 3. Fix value of STBRP__MAXVAL for large rect mode (stbrp_coord is a 32-bit int, so needs to be <=0x7fffffff, 0xffffffff doesn't work) 4. Add comment at the top about which #define to set to get the implementation. Fixes issue #1143, or rather, replaces that pull request.
Showing
想要评论请 注册 或 登录