fart/shapes/Union.h

16 lines
256 B
C++

#ifndef UNION_H
#define UNION_H UNION_H
#include "BoolShape.h"
class Union : public BoolShape
{
public:
Union(refptr<Shape> shape1, refptr<Shape> shape2);
IntersectionList intersect(refptr<Shape> _this, const Ray & ray);
};
#endif