Avoid ambiguous function resolution of getVoxelImpl

Clang was complaining that the function couldn't access the *Volumes*'s
``getVoxelImpl``. Since we actually want the ``BaseVolume::Sampler``'s
version this solves the problem.
This commit is contained in:
Matt Williams 2013-07-04 22:05:06 +01:00
parent 8027f9904d
commit 2f2475ad0c
3 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ namespace PolyVox
}
else
{
return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
}
}

View File

@ -51,7 +51,7 @@ namespace PolyVox
}
else
{
return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
}
}

View File

@ -94,7 +94,7 @@ namespace PolyVox
}
else
{
return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
}
}