summaryrefslogtreecommitdiff
path: root/src/viewpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewpoint.h')
-rw-r--r--src/viewpoint.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/viewpoint.h b/src/viewpoint.h
index e66dffa..2b42756 100644
--- a/src/viewpoint.h
+++ b/src/viewpoint.h
@@ -15,9 +15,14 @@ class viewpoint {
public:
- void setup(float w, float h, float x, float y);
+ void setup(map<string,string>&settings);
+ double getSetting(const string& setting);
+
void begin();
void end();
+
+ void setDefaults();
+
void keyPressed(int key);
void keyReleased(int key);
void setLight();
@@ -36,12 +41,12 @@ class viewpoint {
ofNode target;
keyVar* vars;
-
+
int lightNum;
GLfloat lightColour[];
-
+
GLfloat* getLightPosition;
-
- ofLight light;
+
+ ofLight light;
};