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
Book The Rest: Listing 30, mixture_pdf takes shared_ptr in constructor, but these are not provided. The original:
mixture_pdf
shared_ptr
hittable_pdf p0(light_ptr, rec.p); cosine_pdf p1(rec.normal); mixture_pdf p(&p0, &p1);
compiled version with clang 5+:
auto p0 = make_shared<hittable_pdf>(light_ptr, rec.p); auto p1 = make_shared<cosine_pdf>(rec.normal); mixture_pdf p(p0, p1);
problem persists in dev-major/minor/patch branches.
The text was updated successfully, but these errors were encountered:
Book 3 listg 30: mixture_pdf needs shared_ptr args
044f5da
Resolves #608
hollasch
No branches or pull requests
Book The Rest: Listing 30,
mixture_pdf
takesshared_ptr
in constructor, but these are not provided.The original:
compiled version with clang 5+:
problem persists in dev-major/minor/patch branches.
The text was updated successfully, but these errors were encountered: