28 lines
415 B
C++
28 lines
415 B
C++
|
|
#include <math.h>
|
|
|
|
#include <iostream>
|
|
|
|
#include "Extrude.h"
|
|
#include "util/Solver.h"
|
|
|
|
using namespace std;
|
|
|
|
#define FP_EQUAL(x,y) (fabs((x)-(y)) < 0.000001)
|
|
|
|
Extrude::Extrude()
|
|
{
|
|
}
|
|
|
|
Shape::IntersectionList Extrude::intersect(refptr<Shape> _this, const Ray & ray)
|
|
{
|
|
Ray ray_inv = m_inverse.transform_ray(ray);
|
|
IntersectionList res;
|
|
|
|
return res;
|
|
}
|
|
|
|
void Extrude::addPolygon(refptr<Polygon> polygon)
|
|
{
|
|
}
|