Added distant environment lighting.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-09 12:54:19 -04:00
parent 74bec05883
commit 71c09ce6cb
4 changed files with 46 additions and 11 deletions

View File

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