include/scene.h
branchpyrit
changeset 24 d0d76e8a5203
parent 22 76b7bd51d64a
child 25 b8232edee786
equal deleted inserted replaced
23:7e258561a690 24:d0d76e8a5203
   149 	virtual Vector3 normal(Vector3 &P) = 0;
   149 	virtual Vector3 normal(Vector3 &P) = 0;
   150 
   150 
   151 	virtual BBox get_bbox() = 0;
   151 	virtual BBox get_bbox() = 0;
   152 };
   152 };
   153 
   153 
       
   154 class ShapeList: public vector<Shape*>
       
   155 {
       
   156 };
       
   157 
   154 class Sphere: public Shape
   158 class Sphere: public Shape
   155 {
   159 {
   156 	Float sqr_radius;
   160 	Float sqr_radius;
   157 	Float inv_radius;
   161 	Float inv_radius;
   158 public:
   162 public: