This sampler is not used in the function.
This commit is contained in:
parent
6d37583da5
commit
addbf9f365
@ -34,8 +34,6 @@ namespace PolyVox
|
|||||||
template<typename VolumeType, typename IsVoxelTransparentCallback>
|
template<typename VolumeType, typename IsVoxelTransparentCallback>
|
||||||
void calculateAmbientOcclusion(VolumeType* volInput, Array<3, uint8_t>* arrayResult, Region region, float fRayLength, uint8_t uNoOfSamplesPerOutputElement, IsVoxelTransparentCallback isVoxelTransparentCallback)
|
void calculateAmbientOcclusion(VolumeType* volInput, Array<3, uint8_t>* arrayResult, Region region, float fRayLength, uint8_t uNoOfSamplesPerOutputElement, IsVoxelTransparentCallback isVoxelTransparentCallback)
|
||||||
{
|
{
|
||||||
typename VolumeType::Sampler m_sampVolume(volInput);
|
|
||||||
|
|
||||||
uint16_t uRandomUnitVectorIndex = 0;
|
uint16_t uRandomUnitVectorIndex = 0;
|
||||||
uint16_t uRandomVectorIndex = 0;
|
uint16_t uRandomVectorIndex = 0;
|
||||||
uint16_t uIndexIncreament;
|
uint16_t uIndexIncreament;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user