summaryrefslogtreecommitdiff
path: root/src/viewpoint.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-01-04 21:42:54 +0000
committerTim Redfern <tim@eclectronics.org>2012-01-04 21:42:54 +0000
commit64a4a42ee6826584c38c09a2b5976356e4488993 (patch)
tree3143e5ba192dbc78f110670e76f45e314fcf6910 /src/viewpoint.cpp
parent8b01f111e874493d0c3ecb0113a7639116c09c5c (diff)
got the lighting trick
Diffstat (limited to 'src/viewpoint.cpp')
-rw-r--r--src/viewpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewpoint.cpp b/src/viewpoint.cpp
index 62d5f64..efb6894 100644
--- a/src/viewpoint.cpp
+++ b/src/viewpoint.cpp
@@ -31,7 +31,7 @@ void viewpoint::setup(int ln,float w, float h, float x, float y) {
getLightPosition=new GLfloat[4];
light.enable();
- light.setPointLight();
+ light.setDirectional();
}
//--------------------------------------------------------------
void viewpoint::setLight(){