Removed cmath dependency.

This commit is contained in:
2017-01-02 00:23:04 -04:00
parent 806040018e
commit e9986a923f
7 changed files with 13678 additions and 5418 deletions

View File

@@ -16,10 +16,6 @@ public:
vec3 m_specular;
vec3 m_ambient;
float max(float a, float b) const {
return a >= b ? a : b;
}
virtual ~Light() { }
virtual vec3 shade(vec3 normal, Ray & r, Material & m) const = 0;