added some setters to Scene, including some modules in parser, ready to do something with the parse results

git-svn-id: svn://anubis/fart/trunk@89 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-02-09 02:55:02 +00:00
1 parent 70eeff90fb
commit fc8a46853b
3 files changed
+16 -3

No files matched your search

+8
View File
@@ -31,6 +31,14 @@ class Scene
const char * filename);
~Scene();
void render();
void setWidth(int width) { m_width = width; }
void setHeight(int height) { m_height = height; }
void setMultisampleLevel(int level) { m_multisample_level = level; }
void setVFOV(double vfov) { m_vfov = vfov; }
void setAmbientLight(const Color & al) { m_ambient_light = al; }
void addShape(Shape * shape) { m_shapes.push_back(shape); }
void addLight(Light * light) { m_lights.push_back(light); }
Transform & getTransform() { return m_transform; }
protected:
/* private methods */