23 lines
378 B
C++
23 lines
378 B
C++
|
|
#ifndef EXTRUDE_H
|
|
#define EXTRUDE_H EXTRUDE_H
|
|
|
|
#include <vector>
|
|
|
|
#include "util/Polygon.h"
|
|
#include "Shape.h"
|
|
|
|
class Extrude : public Shape
|
|
{
|
|
public:
|
|
Extrude();
|
|
IntersectionList intersect(refptr<Shape> _this, const Ray & ray);
|
|
void addPolygon(refptr<Polygon> polygon);
|
|
|
|
protected:
|
|
std::vector< refptr<Polygon> > m_polygons;
|
|
};
|
|
|
|
#endif
|
|
|