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