blob: d9608167cb08ce62af13e3683af55654f1905638 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "sampler.hpp"
void Sampler::startPixel(const Vec2d &p) {
m_curPixel = p;
m_curPixelSampleIndex = 0;
}
bool Sampler::startNextSample() {
return ++m_curPixelSampleIndex < m_sampleCount;
}
|