summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-10 00:32:11 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-10 00:32:11 +0100
commit59b00645ccfbade509b1d1694c9fcfc68e013a10 (patch)
tree5df4d3b47810d2d95589f9e7c58653349578f195 /main.cpp
parent4731d3f4cf576d791db21ac1932fd91f9b43ff3a (diff)
downloadc3d-59b00645ccfbade509b1d1694c9fcfc68e013a10.tar
c3d-59b00645ccfbade509b1d1694c9fcfc68e013a10.zip
Zu vmmlib migriert
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 5f24b9a..b92c2d6 100644
--- a/main.cpp
+++ b/main.cpp
@@ -34,7 +34,7 @@ void initGL(bool multisample) {
resize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
glEnable(GL_LIGHTING);
- static const float light[] = {-1, -1, -1, 0};
+ static const float light[] = {1, 1, 1, 0};
static const float lightColor[] = {1, 1, 1, 1};
glLightfv(GL_LIGHT0, GL_POSITION, light);
glLightfv(GL_LIGHT0, GL_DIFFUSE, lightColor);