Moved BRDF to material definition.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-12 13:38:42 -04:00
parent 8c33e46b3d
commit f7f912ff82
13 changed files with 23 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ class DirectionalLight: public Light {
public:
DirectionalLight(): Light() { }
DirectionalLight(BRDF * _brdf, vec3 _p, vec3 _d, vec3 _s): Light(_brdf, _p, _d, _s) { }
DirectionalLight(vec3 _p, vec3 _d, vec3 _s): Light(_p, _d, _s) { }
virtual vec3 direction(vec3 point);
virtual float distance(vec3 point);