untested simple batching;

document algorithm;
automatically use sqrt(N) instead of 32 as cluster size
This commit is contained in:
Sean Barrett
2016-04-16 10:04:03 -07:00
parent 1392344cdd
commit 0214a3c71f
3 changed files with 85 additions and 11 deletions

View 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"