Code clean up and refactoring.

This commit is contained in:
2016-12-26 15:41:29 -04:00
parent 876ecc14cc
commit 2d437f07bc
10 changed files with 183 additions and 85 deletions

View File

@@ -2,7 +2,7 @@
#ifndef SPHERE_HPP
#define SPHERE_HPP
#include <glm/vec3.hpp>
#include <glm/glm.hpp>
#include "figure.hpp"
@@ -21,7 +21,7 @@ public:
virtual ~Sphere() { }
virtual bool intersect(Ray & r, float & t) const;
virtual bool intersect(Ray & r, float & t, vec3 & n) const;
};
#endif