Skip to content

Commit 774b0a7

Browse files
committed
Fix undefined lights parameter for cam.render()
Resolves #1389
1 parent 9af65e1 commit 774b0a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

books/RayTracingTheRestOfYourLife.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298

299299
cam.defocus_angle = 0;
300300

301-
cam.render(world, lights);
301+
cam.render(world);
302302
}
303303
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304304
[Listing [estpi-3]: <kbd>[main.cc]</kbd> Stratifying the samples inside pixels]

0 commit comments

Comments
 (0)