From 7ff3ebe50cd272176daff0de4aee32c1dc0f3320 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 9 Jan 2012 16:36:57 +0000 Subject: xmlising settings --- src/viewpoint.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/viewpoint.h') 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&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; }; -- cgit v1.2.3