19 lines
357 B
C++
19 lines
357 B
C++
|
|
#ifndef BOOLSHAPE_H
|
|
#define BOOLSHAPE_H BOOLSHAPE_H
|
|
|
|
#include "Shape.h"
|
|
|
|
class BoolShape : public Shape
|
|
{
|
|
public:
|
|
virtual IntersectionList intersect(refptr<Shape> _this, const Ray & ray) = 0;
|
|
virtual void setMaterial(refptr<Material> material);
|
|
|
|
protected:
|
|
refptr<Shape> m_shape1;
|
|
refptr<Shape> m_shape2;
|
|
};
|
|
|
|
#endif
|