stb icon indicating copy to clipboard operation
stb copied to clipboard

stb single-file public domain libraries for C/C++

Results 194 stb issues
Sort by recently updated
recently updated
newest added

Hi, this should be a simple fix: since `out` is always the starting address, `two_back` should be calculated as follows, ```c if (layers >= 2) { two_back = out +...

Hello, I have an issue, I don't know if it's me who doesn't get how things should works or if it's a bug. When I compile my code with clang++...

If `STBI_FAILURE_USERMSG` is set, GCC warns: ``` stb_image.h:5183:28: warning: variable ‘invalid_chunk’ set but not used [-Wunused-but-set-variable] static char invalid_chunk[] = "XXXX PNG chunk not known"; ``` Add STBI_FAILURE_USERMSG to the...

stb_image.h contains the function `static int stbi__cpuid3(void)` (on line 657 in my copy) to eventually detect if the CPU supports SSE. When `_MSC_VER` is defined, a different implementation is used,...

1 stb_image
can't reproduce

Originally STBDS_FREE macro was used directly in arrfree definition, this leads to invalid replacement in case custom realloc and free are specified and arrfree is not used in "implementation" unit.

2 bug
2 good-no changes needed
1 stb_ds

This doesn't exactly change the world, but I mean, hey, I saw a typo, so here's a fix!

See #1391. Changelist: + Add `stb_perlin_noise3_derivatives` (return value matches `stb_perlin_noise3_wrap_nonpow2`, derivatives go into `float*` args, if not `NULL`). + Make `stb_perlin_noise3_wrap_nonpow2` faster if all 3 `wrap_*` are powers of 2...

Do the bucket search loops that start at pos and loop back through the start in a single loop, rather than being broken out into pairs of identical loops. This...

Now that `stb_perlin.h` is back (yes!) it would be nice to have analytical derivatives of Perlin noise available available out-of-the-box (I assume a bunch of people would appreciate it, not...

4 enhancement