Skip to content
Myr

documentation & license

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parent 6918b44 · Browse files · 2 files+7 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+7 added−3 removed

  • other:+7 added−3 removed

2 files+7 added−3 removed

added:data/herringbone/license.txt+4 added
1All files in this directory are in the public domain. Where2a public domain declaration is not recognized, you are granted3a license to freely use, modify, and redistribute them in4any way you choose.
modified:stb_herringbone_wang_tile.h+3 added-3 removed
1/* stbhw-v0.5 - public domain - http://nothings.org/stb/stb_herringbone_wang_tile.h2 Herringbone Wang Tile Generator - Sean Barrett 20141/* stbhw - v0.5 - http://nothings.org/stb/stb_herringbone_wang_tile.h2 Herringbone Wang Tile Generator - Sean Barrett 2014 - public domain34 This file is in the public domain. In case that declaration is ineffective,5 you are also granted a license to use and modify it without restriction.6
165 unmodified lines
172173// generate a map that is w * h pixels (3-bytes each)174// returns non-zero on success, 0 on error175// not thread-safe (uses a global data structure to avoid memory management)176// weighting can be NULL, or it 176// weighting should be NULL, as non-NULL weighting is currently untested177STBHW_EXTERN int stbhw_generate_image(stbhw_tileset *ts, int **weighting,178 unsigned char *pixels, int stride_in_bytes, int w, int h);179180//////////////////////////////////////
1032 unmodified lines