made parser/parser.yy:parse() a method of class Scene so no global g_scene is needed

git-svn-id: svn://anubis/fart/trunk@100 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-02-11 17:08:38 +00:00
1 parent 8b9b6332cc
commit ee64558db6
2 files changed
+3 -4

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ class Scene
void renderPixel(int x, int y, unsigned char * pixel);
Color traceRay(const Ray & ray);
std::vector<ShapeDistance> getRayHits(const Ray & ray);
int parse(const char * fileName);
/* rendering parameters */
int m_width;