From 0f838d54b6564b38b585023d7b26749e62315a5b Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Thu, 22 Nov 2012 21:56:18 +0000 Subject: [PATCH] Fix to correct method --- .../include/PolyVoxCore/VolumeResampler.inl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl index 67db5c1e..b76281b9 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl @@ -83,13 +83,13 @@ namespace PolyVox template< typename SrcVolumeType, typename DstVolumeType> void VolumeResampler::resampleArbitrary() { - float srcWidth = m_regSrc.getWidthInVoxels(); - float srcHeight = m_regSrc.getHeightInVoxels(); - float srcDepth = m_regSrc.getDepthInVoxels(); + float srcWidth = m_regSrc.getWidthInCells(); + float srcHeight = m_regSrc.getHeightInCells(); + float srcDepth = m_regSrc.getDepthInCells(); - float dstWidth = m_regDst.getWidthInVoxels(); - float dstHeight = m_regDst.getHeightInVoxels(); - float dstDepth = m_regDst.getDepthInVoxels(); + float dstWidth = m_regDst.getWidthInCells(); + float dstHeight = m_regDst.getHeightInCells(); + float dstDepth = m_regDst.getDepthInCells(); float fScaleX = srcWidth / dstWidth; float fScaleY = srcHeight / dstHeight;