We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing 26 changed (in main.cc)
auto ground_material = make_shared<lambertian>(color(0.5, 0.5, 0.5)); world.add(make_shared<sphere>(point3(0,-1000,0), 1000, ground_material));
to
auto checker = make_shared<checker_texture>(0.32, color(.2, .3, .1), color(.9, .9, .9)); world.add(make_shared<sphere>(point3(0,-1000,0), 1000, make_shared<lambertian>(checker)));
Listing 27 in the book does not changes these lines. However, it does include them for context, but it includes the old lines with ground_material.
ground_material
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Listing 26 changed (in main.cc)
to
Listing 27 in the book does not changes these lines.
However, it does include them for context, but it includes the old lines with
ground_material
.The text was updated successfully, but these errors were encountered: