Ryan Whitworth
45b27d8a9c
Added public domain license text
2015-08-01 14:54:05 -04:00
Ryan Whitworth
1d48782e1d
Added public domain license text
2015-08-01 14:53:00 -04:00
Ryan Whitworth
f0e456b809
Added public domain license text
2015-08-01 14:52:12 -04:00
Ryan Whitworth
6695bc4e18
Added public domain license text
2015-08-01 14:50:51 -04:00
Ryan Whitworth
fa464b33ac
Added public domain license text
2015-08-01 14:49:15 -04:00
Ryan Whitworth
55ff60818e
Added public domain license text
2015-08-01 14:48:37 -04:00
Ryan Whitworth
242b1fe37a
Added public domain license text
2015-08-01 14:48:08 -04:00
Ryan Whitworth
4ab69f3b2c
Added public domain license text
2015-08-01 14:46:52 -04:00
Ryan Whitworth
9e9ce0ab91
Added public domain license text
2015-08-01 14:46:04 -04:00
Sean Barrett
59c353962a
update readme version numbers
2015-08-01 04:18:27 -07:00
Sean Barrett
c1cb414bc6
stb_voxel_render.h version 0.82
2015-08-01 04:17:38 -07:00
Sean Barrett
ad57cd038b
fix assert() to be STBTT_assert()
2015-08-01 04:16:19 -07:00
Sean Barrett
4ea7744980
fix incorrect tex_overlay2 handling
2015-08-01 04:15:55 -07:00
Sean Barrett
2afb815509
Merge branch 'add_up_down_checks_to_geometry' of https://github.com/friesencr/stb
2015-08-01 04:08:21 -07:00
Sean Barrett
cb528122e5
Merge branch 'master' of https://github.com/cjxgm/stb into working
2015-08-01 04:05:43 -07:00
Sean Barrett
c6ee732c79
allow finer-grained PackFontRanges with Gather & Render;
...
allow discontinuous codepoints in PackFontRanges;
fix bug in GetFontOffsetForIndex (non-0 index never worked?);
tweak public domain license
2015-08-01 04:04:54 -07:00
Sean Barrett
e637834865
Merge branch 'master' of https://github.com/ocornut/stb into working
2015-08-01 04:03:19 -07:00
Sean Barrett
a200fab163
add some minor comments
2015-08-01 04:02:21 -07:00
Sean Barrett
d821fd83f3
Merge branch 'master' into working
...
Conflicts:
stb_voxel_render.h
2015-08-01 04:02:00 -07:00
Joshua Sheard
5305ffbe49
Include math.h for ceil()
2015-07-29 17:00:44 +00:00
rmitton
6645ea5915
Fixed stupid endianness bug.
...
Incorrect endianness hilariously doesn't manifest _if_ the original
image was upconverted from 8-bit to 16-bit.
2015-07-24 12:00:09 -07:00
Giumo X. Clanjor (哆啦比猫/兰威举)
3159971d85
stb_truetype: fix wrong result returned by stbtt_GetFontOffsetForIndex
...
fixed the typo in stbtt_GetFontOffsetForIndex, where the field size should be 4 instead of 14.
2015-07-20 23:18:47 +08:00
ocornut
52845885c4
Merge remote-tracking branch 'upstream/master'
2015-07-15 12:08:29 -06:00
ocornut
34ed8ff096
Merge branch 'nothings/master'
2015-07-15 12:01:27 -06:00
Sean Barrett
93fb372028
update stb_truetype version
2015-07-14 18:23:46 -07:00
Sean Barrett
20b04f4aa9
stb_truetype version 1.06
...
- switch from qsort() to built-in quicksort (about 2x as fast a sort, ~10% faster overall)
- use pool allocator for active-edge allocations (~10% faster overall)
- use new rasterizer (about 30% faster, ~10% faster overall)
2015-07-14 18:23:12 -07:00
rmitton
608cbec1f5
Fixed overflow for high values.
...
0xffff would accidentally round to 0x10000.
2015-07-07 15:47:37 -07:00
rmitton
a371b204f5
Added support for 16-bit PSD loading.
...
This extends the current PSD loader to add support for 16-bit images, by
quantizing them down to 8-bit upon load.
2015-07-07 15:15:38 -07:00
Chris Friesen
9f23eb30be
Adds up and down checks to voxel render input.geometry
2015-07-06 21:37:05 -05:00
rmitton
fcfa17b847
Fixed double-free in JPEG allocation
...
It was incorrectly setting the wrong field to NULL, causing it to get
freed again later.
2015-07-06 13:32:40 -07:00
fahickman
80a0e90d53
TGA RLE flag and regression fix
...
Add requested flag for controlling TGA RLE compression and fix a
regression when writing monochrome TGAs.
2015-07-03 14:27:29 -07:00
Liam Chasteen
65ebe75124
Tweaked to enable compilation under MinGW.
2015-07-02 11:50:32 -07:00
ocornut
be8284de7e
stb_wingraph.h: missing lib pragmas for completeness
2015-06-30 20:02:41 -06:00
Michaelangel007
c11532b872
Cleanup unused functions
2015-06-30 08:54:14 -06:00
Michaelangel007
2762b410fe
Fix unused vars warning in stbi_is_hdr_from_file stbi_is_hdr_from_callbacks
2015-06-30 08:02:24 -06:00
blackpawn
693772ed02
OSX 64bit fixes
...
Check for __LP64__ preprocessor define for 64bit. Allocator fix for 64bit.
2015-06-22 19:45:35 -07:00
r-lyeh
8702dce4d6
msvc 64-bit fixes
2015-06-13 14:33:42 +02:00
Sean Barrett
b53c08a148
Merge pull request #127 from mikesart/master
...
Fix relative path check for non-Windows platforms in stb_fullpath.
2015-06-10 12:05:29 -07:00
Michael Sartain
3787e1c143
Fix relative path check for non-Windows platforms in stb_fullpath.
2015-06-09 16:52:39 -07:00
Robert Nix
51415dea6e
Fix 64-bit compile for pointer set
2015-06-09 12:54:51 -05:00
Robert Nix
0fbc8bec6f
Don't truncate pointers to 4 bytes on 64-bit
2015-06-09 12:54:50 -05:00
Robert Nix
b639b6a468
Don't use __asm int 3; on 64-bit platforms
2015-06-09 12:54:45 -05:00
fahickman
126ec22867
add missing consts
2015-06-04 14:04:02 -07:00
Sean Barrett
aa89970d6b
stb_image.h: fix *comp value when loading PSDs
...
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
2015-05-28 22:11:45 -07:00
ocornut
1b157be513
Merge remote-tracking branch 'nothings/master'
...
Conflicts:
stb_truetype.h
2015-05-28 08:55:13 +01:00
fahickman
e0e4bd4d86
write TGAs with RLE compression
2015-05-11 21:38:55 -07:00
Guillaume Chereau
d1d5f4ca96
add STB_IMAGE_WRITE_STATIC macro
...
This is the same thing than STB_IMAGE_STATIC of stb_image.h.
2015-04-20 23:18:42 +08:00
Guillaume Chereau
347e7838be
fix compilation of stb_image_write.h with gcc -O3
...
When compiling with -O3, gcc would complain that 'linear' might not be
initialized if comp is superior to 4.
In fact passing a value > 4 is an error anyway, but gcc does not know
that. I changed the switch case to support comp > 4. I don't think it
should affect the performances.
2015-04-20 22:59:24 +08:00
Sean Barrett
947bdcd027
update version numbers & docs
2015-04-19 04:19:55 -07:00
Sean Barrett
8f9c8b682d
Merge branch 'master' of https://github.com/nguillemot/stb
2015-04-19 04:17:21 -07:00