Ambient occlusion test now uses RawVolume, as it need a fixed size volume to create a temporary array.

This commit is contained in:
David Williams
2015-03-01 09:51:45 +01:00
parent e7f41b7e0f
commit 396d1cfc59
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ freely, subject to the following restrictions:
//These two should not be here!
#include "PolyVox/Material.h"
#include "PolyVox/PagedVolume.h"
#include "PolyVox/RawVolume.h"
#include <algorithm>
@ -53,7 +53,7 @@ namespace PolyVox
{
}
bool operator()(const PagedVolume<uint8_t>::Sampler& sampler)
bool operator()(const RawVolume<uint8_t>::Sampler& sampler)
{
uint8_t sample = sampler.getVoxel();
bool func = mIsVoxelTransparentCallback(sample);