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