We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe1845 commit 04d80edCopy full SHA for 04d80ed
books/RayTracingTheRestOfYourLife.html
@@ -337,7 +337,7 @@
337
std::cout << "P3\n" << image_width << " " << image_height << "\n255\n";
338
339
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
340
- int sqrt_spp = int(sqrt(samples_per_pixrel));
+ int sqrt_spp = int(sqrt(samples_per_pixel));
341
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
342
for (int j = image_height-1; j >= 0; --j) {
343
std::clog << "\rScanlines remaining: " << j << ' ' << std::flush;
0 commit comments