rayzor
diff src/object.h @ 14:a9a948809c6f
starting the renderer screen, plus misc stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Apr 2014 08:06:21 +0300 |
parents | 964f8ea5f095 |
children | 79609d482762 |
line diff
1.1 --- a/src/object.h Sat Apr 12 23:37:55 2014 +0300 1.2 +++ b/src/object.h Sun Apr 13 08:06:21 2014 +0300 1.3 @@ -5,10 +5,6 @@ 1.4 #include "snode.h" 1.5 1.6 class Object : public SceneNode { 1.7 -protected: 1.8 - void pre_draw() const; 1.9 - void post_draw() const; 1.10 - 1.11 public: 1.12 Object(); 1.13 virtual ~Object(); 1.14 @@ -19,7 +15,7 @@ 1.15 Sphere(); 1.16 ~Sphere(); 1.17 1.18 - void draw() const; 1.19 + void draw(bool emph = false) const; 1.20 1.21 bool intersect(const Ray &ray, float *dist = 0) const; 1.22 }; 1.23 @@ -29,7 +25,7 @@ 1.24 Box(); 1.25 ~Box(); 1.26 1.27 - void draw() const; 1.28 + void draw(bool emph = false) const; 1.29 1.30 bool intersect(const Ray &ray, float *dist = 0) const; 1.31 };