Added photon tracing.

This commit is contained in:
2017-02-22 15:12:01 -04:00
parent 2efb8b33d4
commit 9bb6c0b759
9 changed files with 188 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ class SphereAreaLight: public AreaLight {
public:
SphereAreaLight(Sphere * _s, float _c = 1.0, float _l = 0.0, float _q = 0.0): AreaLight(static_cast<Figure *>(_s), _c, _l, _q) { }
virtual void sample_at_surface(vec3 point);
virtual vec3 sample_at_surface();
};
#endif