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, |
51 virtual void packet_intersection(const Shape **origin_shapes, const RayPacket &rays, |
52 Float *nearest_distances, Shape **nearest_shapes); |
52 Float *nearest_distances, Shape **nearest_shapes); |
53 |
53 |
54 virtual void optimize() {}; |
54 virtual void optimize() {}; |
55 |
55 |
56 ShapeList & getShapes() { return shapes; }; |
56 ShapeList & getShapes() { return shapes; }; |