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

@@ -1,8 +1,7 @@
#include <cmath>
#include "sphere.hpp"
using glm::normalize;
using glm::sqrt;
bool Sphere::intersect(Ray & r, float & t) const {
float t1, t2;