X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpolytest.c;h=85b31282382b0d7bdfa0e51682fe021b469b741b;hb=c76efec19002adcbe637534a3abddb92014aadc3;hp=207fb31557f925017a86e21acbf93739633fbe3c;hpb=8cee0ffb00cce3d81487f1161286ac299db7d044;p=dosdemo diff --git a/src/polytest.c b/src/polytest.c index 207fb31..85b3128 100644 --- a/src/polytest.c +++ b/src/polytest.c @@ -44,8 +44,8 @@ static int init(void) { int i; - gen_cube(&cube, 1.0, 0); - gen_torus(&torus, 1.0, 0.25, 24, 12); + gen_cube_mesh(&cube, 1.0, 0); + gen_torus_mesh(&torus, 1.0, 0.25, 24, 12); /* scale texcoords */ for(i=0; i