320cca578427d0b101d325bfd86fa6cf3cbec9aa
[MicroTrace.git] / Triangle.hxx
1 #ifndef TRIANGLE_HXX
2 #define TRIANGLE_HXX
3
4 #include "Primitive.hxx"
5
6 class Triangle : public Primitive
7 {
8 public:
9 Triangle(const Vec3f& a, const Vec3f& b, const Vec3f& c);
10 virtual ~Triangle();
11
12 virtual bool Intersect(Ray& ray);
13 private:
14 Vec3f m_a, m_b, m_c;
15 };
16 #endif
This page took 0.038436 seconds and 3 git commands to generate.