Revert "Ambient occlusion test now uses RawVolume, as it need a fixed size volume to create a temporary array."
This reverts commit 396d1cfc59
.
This commit is contained in:
@ -33,7 +33,7 @@ freely, subject to the following restrictions:
|
||||
|
||||
//These two should not be here!
|
||||
#include "PolyVox/Material.h"
|
||||
#include "PolyVox/RawVolume.h"
|
||||
#include "PolyVox/PagedVolume.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -53,7 +53,7 @@ namespace PolyVox
|
||||
{
|
||||
}
|
||||
|
||||
bool operator()(const RawVolume<uint8_t>::Sampler& sampler)
|
||||
bool operator()(const PagedVolume<uint8_t>::Sampler& sampler)
|
||||
{
|
||||
uint8_t sample = sampler.getVoxel();
|
||||
bool func = mIsVoxelTransparentCallback(sample);
|
||||
|
Reference in New Issue
Block a user