Skip to content
Snippets Groups Projects
Commit 0d29ecfe authored by Yoel's avatar Yoel
Browse files

Streamline fixes that shouldve been in the main

parent 32379c39
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
namespace util {
StratifiedSampler::StratifiedSampler(const std::shared_ptr<Sampler>& sampler,
size_t n)
: sampler(sampler), n(std::ceil(std::sqrt(n))){};
: sampler(sampler), n(n){};
Vec3 StratifiedSampler::color(float x, float y) const {
Vec3 color(0, 0, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment