fart/shapes/Plane.h
Josh Holtrop 7a4bb7dbc2 added LinearSolver to util/Solver module; added shapes/Plane module
git-svn-id: svn://anubis/fart/trunk@59 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-01-28 15:02:05 +00:00

20 lines
316 B
C++

#ifndef PLANE_H
#define PLANE_H PLANE_H
#include "Shape.h"
class Plane : public Shape
{
public:
Plane(double a, double b, double c, double d);
IntersectList intersect(const Ray & ray);
Vector getNormalAt(const Vector & pt);
private:
double m_a, m_b, m_c, m_d;
};
#endif