… | |
… | |
310 | |
310 | |
311 | entity *planet = new entity (new geometry_sphere (testmat, 10)); |
311 | entity *planet = new entity (new geometry_sphere (testmat, 10)); |
312 | planet->move (vec3 (0, 0, -20)); |
312 | planet->move (vec3 (0, 0, -20)); |
313 | planet->show (); |
313 | planet->show (); |
314 | |
314 | |
315 | //doom3parse ("test.proc"); |
315 | doom3parse ("test.proc"); |
316 | |
316 | |
|
|
317 | #if 0 |
317 | for (int i = 0; i < 20; i++) |
318 | for (int i = 0; i < 20; i++) |
318 | { |
319 | { |
319 | // load a entity |
320 | // load a entity |
320 | txtprt_parser p; |
321 | txtprt_parser p; |
321 | geometry *g; |
322 | geometry *g; |
… | |
… | |
346 | planet->show (); |
347 | planet->show (); |
347 | } |
348 | } |
348 | |
349 | |
349 | //draw_floor (10, -500, -10, -1000); |
350 | //draw_floor (10, -500, -10, -1000); |
350 | draw_level (); |
351 | draw_level (); |
|
|
352 | #endif |
351 | |
353 | |
352 | |
354 | |
353 | #if 0 |
355 | #if 0 |
354 | { |
356 | { |
355 | geometry_heightfield *hf = new geometry_heightfield (100000., 100000.); |
357 | geometry_heightfield *hf = new geometry_heightfield (100000., 100000.); |