X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fpolytest.c;h=41442d5a7558815a5b77ab62e25162e79cd9c563;hp=bbc1c0b2932bf61ed9ad099eed4b2b379ff8ef95;hb=8f7234e08947a80bace3643f37214c5fb076bdfe;hpb=00a81988c5c6c91997f2f9346ac94858622490bd diff --git a/src/polytest.c b/src/polytest.c index bbc1c0b..41442d5 100644 --- a/src/polytest.c +++ b/src/polytest.c @@ -35,7 +35,7 @@ static struct bsptree torus_bsp; static struct pimage tex; -static int use_bsp = 1; +static int use_bsp = 0; #define LOWRES_SCALE 10 static uint16_t *lowres_pixels; @@ -58,11 +58,13 @@ static int init(void) torus.varr[i].v *= 2.0; } + /* init_bsp(&torus_bsp); if(bsp_add_mesh(&torus_bsp, &torus) == -1) { fprintf(stderr, "failed to construct torus BSP tree\n"); return -1; } + */ gen_texture(&tex, 128, 128); @@ -82,7 +84,9 @@ static void destroy(void) free(cube.varr); free(torus.varr); free(torus.iarr); + /* destroy_bsp(&torus_bsp); + */ } static void start(long trans_time)