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