Skip to content

Commit 04d80ed

Browse files
committed
Fix typo: "pixrel"
See #976
1 parent 8fe1845 commit 04d80ed

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
@@ -337,7 +337,7 @@
337337
std::cout << "P3\n" << image_width << " " << image_height << "\n255\n";
338338

339339
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
340-
int sqrt_spp = int(sqrt(samples_per_pixrel));
340+
int sqrt_spp = int(sqrt(samples_per_pixel));
341341
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
342342
for (int j = image_height-1; j >= 0; --j) {
343343
std::clog << "\rScanlines remaining: " << j << ' ' << std::flush;

0 commit comments

Comments
 (0)