Skip to content

Commit cf3b2bd

Browse files
committed
Delete last reference to unused var p in main.cc
Resolves #317
1 parent 622f250 commit cf3b2bd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

books/RayTracingTheRestOfYourLife.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2139,7 +2139,6 @@
21392139
auto u = (i + random_double()) / nx;
21402140
auto v = (j + random_double()) / ny;
21412141
ray r = cam->get_ray(u, v);
2142-
vec3 p = r.at(2.0);
21432142
col += ray_color(r, world, glass_sphere, max_depth);
21442143
}
21452144
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)