1 #ifndef INFINITE_PLANE_HXX
2 #define INFINITE_PLANE_HXX
4 #include "Primitive.hxx"
6 class InfinitePlane : public Primitive
9 InfinitePlane(const Vec3f& a, const Vec3f & n, Shader* shader);
10 virtual ~InfinitePlane();
12 virtual bool Intersect(Ray& ray);
13 virtual Vec3f GetNormal(Ray& ray);
14 virtual Box CalcBounds();
15 virtual bool InVoxel(const Box& box);