typo in several Sampler::clone() functions
parent
fe0624ab87
commit
491091092d
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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]);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue