fixed Box::Extend(Vec3f&)
[MicroTrace.git] / InfinitePlane.hxx
1 #ifndef INFINITE_PLANE_HXX
2 #define INFINITE_PLANE_HXX
3
4 #include "Primitive.hxx"
5
6 class InfinitePlane : public Primitive
7 {
8 public:
9 InfinitePlane(const Vec3f& a, const Vec3f & n, Shader* shader);
10 virtual ~InfinitePlane();
11
12 virtual bool Intersect(Ray& ray);
13 virtual Vec3f GetNormal(Ray& ray);
14 virtual Box CalcBounds();
15 virtual bool InVoxel(const Box& box);
16 private:
17 Vec3f m_a, m_n;
18 };
19 #endif
This page took 0.066121 seconds and 5 git commands to generate.