Linux compile fixes.

This commit is contained in:
p265186
2012-06-15 17:29:39 +02:00
parent c11b02f354
commit 9fdc30643a
6 changed files with 20 additions and 20 deletions

View File

@ -26,13 +26,13 @@ freely, subject to the following restrictions:
namespace PolyVox
{
template<>
typename VoxelTypeTraits<MaterialDensityPair44>::DensityType convertToDensity(MaterialDensityPair44 voxel)
VoxelTypeTraits<MaterialDensityPair44>::DensityType convertToDensity(MaterialDensityPair44 voxel)
{
return voxel.getDensity();
}
template<>
typename VoxelTypeTraits<MaterialDensityPair88>::DensityType convertToDensity(MaterialDensityPair88 voxel)
VoxelTypeTraits<MaterialDensityPair88>::DensityType convertToDensity(MaterialDensityPair88 voxel)
{
return voxel.getDensity();
}