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