Skip to content
Myr

rename static-implementation define to STB_VOXEL_RENDER_STATIC for consistency

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 a1f1010 · Browse files · 1 file+2 added−2 removed
This commit

State

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

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:stb_voxel_render.h+2 added-2 removed
184 unmodified lines
185186typedef struct stbvox_mesh_maker stbvox_mesh_maker;187typedef struct stbvox_input_description stbvox_input_description;188189#ifdef STBVOX_STATIC_IMPLEMENTATION189#ifdef STB_VOXEL_RENDER_STATIC190#define STBVXDEC static191#else192#define STBVXDEC extern193#endif
9 unmodified lines
203// #define STBVOX_CONFIG_MODE <integer> // REQUIRED204// Configures the overall behavior of stb_voxel_render. This205// can affect the shaders, the uniform info, and other things.206// (If you need more than one mode in the same app, you can207// use STBVOX_STATIC_IMPLEMENTATION to create multiple versions207// use STB_VOXEL_RENDER_STATIC to create multiple versions208// in separate files, and then wrap them.)209//210// Mode value Meaning211// 0 Textured blocks, 32-byte quads
3365 unmodified lines