equal
deleted
inserted
replaced
46 virtual ~Container() {}; |
46 virtual ~Container() {}; |
47 virtual void addShape(Shape* aShape); |
47 virtual void addShape(Shape* aShape); |
48 //void addShapeNoExtend(Shape* aShape) { shapes.push_back(aShape); }; |
48 //void addShapeNoExtend(Shape* aShape) { shapes.push_back(aShape); }; |
49 virtual Shape *nearest_intersection(const Shape *origin_shape, const Ray &ray, |
49 virtual Shape *nearest_intersection(const Shape *origin_shape, const Ray &ray, |
50 Float &nearest_distance); |
50 Float &nearest_distance); |
|
51 virtual void packet_intersection(const Shape **origin_shapes, const Ray *rays, |
|
52 Float *nearest_distances, Shape **nearest_shapes); |
|
53 |
51 virtual void optimize() {}; |
54 virtual void optimize() {}; |
52 |
55 |
53 ShapeList & getShapes() { return shapes; }; |
56 ShapeList & getShapes() { return shapes; }; |
54 |
57 |
55 virtual ostream & dump(ostream &st); |
58 virtual ostream & dump(ostream &st); |