Commits

Matt Williams  committed 2f2475a

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.

  • Participants
  • Parent commits 8027f99
  • Branches develop, feature/dualcontouring

Comments (0)

Files changed (3)

File library/PolyVoxCore/include/PolyVoxCore/LargeVolumeSampler.inl

 		}
 		else
 		{
-			return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
+			return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
 		}
 	}
 

File library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl

 		}
 		else
 		{
-			return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
+			return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
 		}
 	}
 

File library/PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl

 		}
 		else
 		{
-			return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
+			return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
 		}
 	}