typo in several Sampler::clone() functions

metadata
Wenzel Jakob 2013-03-18 17:45:34 +01:00
parent fe0624ab87
commit 491091092d
5 changed files with 5 additions and 5 deletions

View File

@ -174,7 +174,7 @@ public:
sampler->m_scramble = m_scramble;
sampler->m_permutations = m_permutations;
for (size_t i=0; i<m_req1D.size(); ++i)
sampler->request2DArray(m_req1D[i]);
sampler->request1DArray(m_req1D[i]);
for (size_t i=0; i<m_req2D.size(); ++i)
sampler->request2DArray(m_req2D[i]);
return sampler.get();

View File

@ -73,7 +73,7 @@ public:
sampler->m_sampleCount = m_sampleCount;
sampler->m_random = new Random(m_random);
for (size_t i=0; i<m_req1D.size(); ++i)
sampler->request2DArray(m_req1D[i]);
sampler->request1DArray(m_req1D[i]);
for (size_t i=0; i<m_req2D.size(); ++i)
sampler->request2DArray(m_req2D[i]);
return sampler.get();

View File

@ -138,7 +138,7 @@ public:
sampler->m_samples2D[i] = new Point2[m_sampleCount];
}
for (size_t i=0; i<m_req1D.size(); ++i)
sampler->request2DArray(m_req1D[i]);
sampler->request1DArray(m_req1D[i]);
for (size_t i=0; i<m_req2D.size(); ++i)
sampler->request2DArray(m_req2D[i]);

View File

@ -138,7 +138,7 @@ public:
sampler->m_arrayStartDim = m_arrayStartDim;
sampler->m_arrayEndDim = m_arrayEndDim;
for (size_t i=0; i<m_req1D.size(); ++i)
sampler->request2DArray(m_req1D[i]);
sampler->request1DArray(m_req1D[i]);
for (size_t i=0; i<m_req2D.size(); ++i)
sampler->request2DArray(m_req2D[i]);
return sampler.get();

View File

@ -138,7 +138,7 @@ public:
sampler->m_permutations2D[i] = new uint32_t[m_sampleCount];
}
for (size_t i=0; i<m_req1D.size(); ++i)
sampler->request2DArray(m_req1D[i]);
sampler->request1DArray(m_req1D[i]);
for (size_t i=0; i<m_req2D.size(); ++i)
sampler->request2DArray(m_req2D[i]);
return sampler.get();