1 #ifndef TRAVELLINGPHOTON_HXX
2 #define TRAVELLINGPHOTON_HXX
3
4 #include "Ray.hxx"
5
6 // When travelling through space, it is often a lot easier to consider the
7 // photon to behave as a ray. This is what this class does.
8 // As soon as this photon is absorbed, it only needs far less parameters
9 // than it does now.
10
11 class TravellingPhoton : public Ray
12 {
13 public:
14 Vec3f energy; // Energy of the Photon
15 };
16
17 #endif