16 lines
271 B
C++
16 lines
271 B
C++
|
|
#ifndef SUBTRACT_H
|
|
#define SUBTRACT_H SUBTRACT_H
|
|
|
|
#include "BoolShape.h"
|
|
|
|
class Subtract : public BoolShape
|
|
{
|
|
public:
|
|
Subtract(refptr<Shape> shape1, refptr<Shape> shape2);
|
|
IntersectionList intersect(refptr<Shape> _this, const Ray & ray);
|
|
};
|
|
|
|
#endif
|
|
|