… | |
… | |
302 | if (gamma != 0.0) |
302 | if (gamma != 0.0) |
303 | SDL_SetGamma (gamma, gamma, gamma); |
303 | SDL_SetGamma (gamma, gamma, gamma); |
304 | |
304 | |
305 | testmat = new test_material; |
305 | testmat = new test_material; |
306 | |
306 | |
307 | #if 0 |
|
|
308 | entity *planet = new entity (new geometry_sphere (10)); |
307 | entity *planet = new entity (new geometry_sphere (testmat, 10)); |
309 | planet->move (vec3 (0, 0, -20)); |
308 | planet->move (vec3 (0, 0, -20)); |
310 | planet->show (); |
309 | planet->show (); |
311 | #endif |
|
|
312 | |
310 | |
313 | for (int i = 0; i < 20; i++) |
311 | for (int i = 0; i < 20; i++) |
314 | { |
312 | { |
315 | // load a entity |
313 | // load a entity |
316 | txtprt_parser p; |
314 | txtprt_parser p; |