ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/test.C
(Generate patch)

Comparing libgender/test.C (file contents):
Revision 1.80 by root, Thu Nov 4 04:46:58 2004 UTC vs.
Revision 1.81 by root, Thu Nov 4 04:49:04 2004 UTC

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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines