summaryrefslogtreecommitdiff
path: root/src/viewpoint.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-01-02 01:40:11 +0000
committerTim Redfern <tim@eclectronics.org>2012-01-02 01:40:11 +0000
commit8b005ba4cebd9909496e0d032770efe9844b5675 (patch)
tree963ab648ba0876099830edbbd93d9becee96259c /src/viewpoint.h
parenta728ca18def61a13bbd7d0680dfab011d7ea20ac (diff)
camera light orbiting not working
Diffstat (limited to 'src/viewpoint.h')
-rw-r--r--src/viewpoint.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/viewpoint.h b/src/viewpoint.h
index 1a46081..2a43a2d 100644
--- a/src/viewpoint.h
+++ b/src/viewpoint.h
@@ -15,11 +15,12 @@ class viewpoint {
public:
- void setup(float w, float h, float x, float y);
+ void setup(int ln,float w, float h, float x, float y);
void begin();
void end();
void keyPressed(int key);
void keyReleased(int key);
+ void setLight();
ofFbo renderFBO;
@@ -29,12 +30,14 @@ class viewpoint {
ofRectangle window;
-
double fov,aspect,near,far;
ofCamera camera;
ofNode target;
keyVar* vars;
+
+ int lightNum;
+ GLfloat lightColour[];
};