- PolyVox now completely builds on Linux.

- - Fix the template trickery with this one word fix to Volume.inl. For the reason, see http://www.parashift.com/c++-faq-lite/templates.html#faq-35.18
- Add newlines to two more files so that PolyVox build with no warnings at all.
This commit is contained in:
Matt Williams 2008-05-24 14:29:56 +00:00
parent 06d433f559
commit dc9950d1c8
3 changed files with 3 additions and 3 deletions

View File

@ -209,7 +209,7 @@ namespace PolyVox
template <typename VoxelType> template <typename VoxelType>
Block<VoxelType>* Volume<VoxelType>::getHomogenousBlock(VoxelType tHomogenousValue) const Block<VoxelType>* Volume<VoxelType>::getHomogenousBlock(VoxelType tHomogenousValue) const
{ {
std::map<VoxelType, Block<VoxelType>*>::iterator iterResult = m_pHomogenousBlocks.find(tHomogenousValue); typename std::map<VoxelType, Block<VoxelType>*>::iterator iterResult = m_pHomogenousBlocks.find(tHomogenousValue);
if(iterResult == m_pHomogenousBlocks.end()) if(iterResult == m_pHomogenousBlocks.end())
{ {
Block<VoxelType>* pBlock = new Block<VoxelType>(m_uBlockSideLengthPower); Block<VoxelType>* pBlock = new Block<VoxelType>(m_uBlockSideLengthPower);

View File

@ -27,4 +27,4 @@ namespace PolyVox
RegionGeometry::RegionGeometry() RegionGeometry::RegionGeometry()
{ {
} }
} }

View File

@ -56,4 +56,4 @@ namespace PolyVox
} }
return uNonZeroBits == 1 ? true : false; return uNonZeroBits == 1 ? true : false;
} }
} }