- glcolor3f(1,1,1);
- gltranslatef(0,-1.5,0);
- glrotatef(rotation,0,1,0);
- glpushmatrix;
- glLightfv(GL_LIGHT0, GL_AMBIENT, @light_ambient[0]);
- glLightfv(GL_LIGHT0, GL_DIFFUSE, @light_diffuse[0]);
- glLightfv(GL_LIGHT0, GL_POSITION, @light_position[0]);
- glenable(gl_lighting);
- glenable(gl_light0);
- glpopmatrix;
- glpushmatrix;
- gltranslatef(2.7,1.7,-5);
- glrotatef(90,0,0,1);
- glrotatef(270,0,1,0);
- glscalef(0.001,0.001,0.001);
- Lichtschalter.Render;
- glpopmatrix;
- gltranslatef(3.4,0,-5);
- glrotatef(-90,1,0,0);
- glrotatef(90,0,0,1);
- glscalef(0.007,0.005,0.0035);
- regal.Render;
- glpopmatrix;
- gltranslatef(2,1,-4);
- glrotatef(90,1,0,0);
- glscalef(0.001,0.001,0.001);
- pc.Render;
- gldisable(gl_lighting);