1. Volumes of Fun
  2. Main
  3. PolyVox

Commits

David Williams  committed 8ed5edf

Documentation fix.

  • Participants
  • Parent commits 900b693
  • Branches develop

Comments (0)

Files changed (1)

File library/PolyVoxCore/include/PolyVoxCore/RawVolume.inl

View file
  • Ignore whitespace
 			POLYVOX_THROW(std::out_of_range, "Position is outside valid region");
 		}
 
-		return getVoxelImpl(uXPos, uYPos, uZPos, WrapModeType<WrapModes::DontCheck>(), tBorder); // No bounds checks as we've just validated the position.
+		return getVoxelImpl(uXPos, uYPos, uZPos, WrapModeType<WrapModes::DontCheck>(), tBorder); // No wrapping as we've just validated the position.
 	}
 
 	template <typename VoxelType>
 		uYPos = (std::min)(uYPos, this->m_regValidRegion.getUpperY());
 		uZPos = (std::min)(uZPos, this->m_regValidRegion.getUpperZ());
 
-		return getVoxelImpl(uXPos, uYPos, uZPos, WrapModeType<WrapModes::DontCheck>(), tBorder); // No bounds checks as we've just validated the position.
+		return getVoxelImpl(uXPos, uYPos, uZPos, WrapModeType<WrapModes::DontCheck>(), tBorder); // No wrapping as we've just validated the position.
 	}
 
 	template <typename VoxelType>
 	{
 		if(this->m_regValidRegion.containsPoint(uXPos, uYPos, uZPos))
 		{
-			return getVoxelImpl(uXPos, uYPos, uZPos, WrapModeType<WrapModes::DontCheck>(), tBorder); // No bounds checks as we've just validated the position.
+			return getVoxelImpl(uXPos, uYPos, uZPos, WrapModeType<WrapModes::DontCheck>(), tBorder); // No wrapping as we've just validated the position.
 		}
 		else
 		{