- 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:
parent
06d433f559
commit
dc9950d1c8
@ -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);
|
||||||
|
@ -27,4 +27,4 @@ namespace PolyVox
|
|||||||
RegionGeometry::RegionGeometry()
|
RegionGeometry::RegionGeometry()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,4 +56,4 @@ namespace PolyVox
|
|||||||
}
|
}
|
||||||
return uNonZeroBits == 1 ? true : false;
|
return uNonZeroBits == 1 ? true : false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user