1 #ifndef PHOTONDISTRIBUTOR_HXX
2 #define PHOTONDISTRIBUTOR_HXX
3
4 #include "Photon.hxx"
5 #include "Material.hxx"
6
7 #include "defines.h"
8
9 // Parent class for the distribution of photons in the scene (in order to build a photon map)
10 class PhotonDistributor
11 {
12 public:
13 Scene *scene;
14 Material *material;
15
16 PhotonDistributor(Scene *scene, Material *material)
17 : scene(scene), material(material)
18 {};
19
20 virtual ~PhotonDistributor()
21 {};
22
23 virtual void Distribute(TravellingPhoton &photon, vector<Photon*> &list)
24 {};
25 };
26
27 #endif
syntax highlighted by Code2HTML, v. 0.9.1