Commits

David Williams committed 28f81a8

Replaced call to getVoxelAt with getVoxel.

  • Participants
  • Parent commits 2f62a7d
  • Branches develop, feature/dualcontouring

Comments (0)

Files changed (1)

File library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl

 			{
 				for(int32_t sx = m_regSrc.getLowerX(), dx = m_regDst.getLowerX(); dx <= m_regDst.getUpperX(); sx++,dx++)
 				{
-					const typename SrcVolumeType::VoxelType& tSrcVoxel = m_pVolSrc->getVoxelAt(sx,sy,sz);
+					const typename SrcVolumeType::VoxelType& tSrcVoxel = m_pVolSrc->getVoxel<WrapModes::DontCheck>(sx,sy,sz);
 					const typename DstVolumeType::VoxelType& tDstVoxel = static_cast<typename DstVolumeType::VoxelType>(tSrcVoxel);
 					m_pVolDst->setVoxelAt(dx,dy,dz,tDstVoxel);
 				}