diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-01-04 21:42:54 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-01-04 21:42:54 +0000 |
| commit | 64a4a42ee6826584c38c09a2b5976356e4488993 (patch) | |
| tree | 3143e5ba192dbc78f110670e76f45e314fcf6910 /src/viewpoint.cpp | |
| parent | 8b01f111e874493d0c3ecb0113a7639116c09c5c (diff) | |
got the lighting trick
Diffstat (limited to 'src/viewpoint.cpp')
| -rw-r--r-- | src/viewpoint.cpp | 2 |
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(){ |
