18 lines
306 B
C++
18 lines
306 B
C++
|
|
#ifndef UNION_H
|
|
#define UNION_H UNION_H
|
|
|
|
#include "BoolShape.h"
|
|
#include <vector>
|
|
|
|
class Union : public BoolShape
|
|
{
|
|
public:
|
|
Union(const std::vector< refptr<Shape> > & shapes);
|
|
IntersectionList intersect(refptr<Shape> _this, const Ray & ray);
|
|
refptr<Shape> clone();
|
|
};
|
|
|
|
#endif
|
|
|