save commit
[MicroTrace.git] / Light.hxx
1 #ifndef LIGHT_HXX
2 #define LIGHT_HXX
3
4 #include "Vec3f.hxx"
5 #include "Ray.hxx"
6
7 // forward declaration
8 class Scene;
9
10 class Light
11 {
12 public:
13 Light(Scene* scene);
14 virtual ~Light();
15
16 virtual bool Illuminate(Ray& shadowray, Vec3f& intensity) = 0;
17 virtual bool IsArea() = 0;
18 protected:
19 Scene* m_scene;
20
21 private:
22 Light();
23 Light(const Light& );
24 Light& operator=(const Light& );
25 };
26 #endif
This page took 0.041279 seconds and 5 git commands to generate.