glLightfv(GL_LIGHT0, GL_AMBIENT, amb);
+ glRotatef(current_device_rotation(), 0, 0, 1);
+
/** setup perspectif */
glTranslatef(0.0, 0.0, -c->reldist*board_avg_size);
glRotatef(22.5, 1.0, 0.0, 0.0);
c->sheet = (randsheet*) malloc(sizeof(randsheet));
randsheet_create( c->sheet );
- glClearColor(0.0, 0.0, 0.0, 0.0);
-
clearbits = GL_COLOR_BUFFER_BIT;
glColorMaterial(GL_FRONT, GL_AMBIENT_AND_DIFFUSE);