Forgot declaration of shadowRay <- shadow_ray

This commit is contained in:
Eryn Wells 2014-08-02 14:33:50 -07:00
parent 5ddfe068a6
commit b60e27824b

View file

@ -255,7 +255,7 @@ Scene::trace_ray(const Ray &ray,
Vector3 light_direction;
Double ldotn, diffuse_level, ambient_level;
Ray shadow_ray;
Ray shadowRay;
for (PointLight *l : lights) {
light_direction = (intersection - l->GetOrigin()).normalize();