Closed this issue 10 years ago · 1 comments
std::pair<bool, glm::vec3> Sphere::intersect(Ray const& ray) const
= becomes =>
std::pair<bool, Ray> Sphere::intersect(Ray const& ray) const
it seems it returns the normal. Can not confirm because image is strange. Maybe because of #15