split render.c into cave_mesher.c and cave_render.c

This commit is contained in:
Sean Barrett
2015-02-22 15:03:04 -08:00
parent 2770c92148
commit cd17050ca4
7 changed files with 1727 additions and 1758 deletions

View File

@ -20,6 +20,8 @@
#define STB_DEFINE
#include "stb.h"
#include "caveview.h"
#define SCALE 2
void error(char *s)
@ -336,6 +338,9 @@ int SDL_main(int argc, char **argv)
SDL_GL_SetSwapInterval(0); // only when profiling
render_init();
mesh_init();
world_init();
init_game();
//editor_init();
initialized = 1;