untested simple batching;
document algorithm; automatically use sqrt(N) instead of 32 as cluster size
This commit is contained in:
@ -106,6 +106,10 @@ SOURCE=..\stb_c_lexer.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\stb_connected_components.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\stb_divide.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -9,7 +9,6 @@
|
||||
#define STB_RECT_PACK_IMPLEMENTATION
|
||||
#define STB_VOXEL_RENDER_IMPLEMENTATION
|
||||
#define STB_EASY_FONT_IMPLEMENTATION
|
||||
#define STB_CONNECTED_COMPONENTS_IMPLEMENTATION
|
||||
|
||||
#include "stb_easy_font.h"
|
||||
#include "stb_herringbone_wang_tile.h"
|
||||
@ -22,10 +21,6 @@
|
||||
#include "stb_image_resize.h"
|
||||
#include "stb_rect_pack.h"
|
||||
|
||||
#define STBCC_GRID_COUNT_X_LOG2 10
|
||||
#define STBCC_GRID_COUNT_Y_LOG2 10
|
||||
#include "stb_connected_components.h"
|
||||
|
||||
#define STBVOX_CONFIG_MODE 1
|
||||
#include "stb_voxel_render.h"
|
||||
|
||||
|
Reference in New Issue
Block a user