Example #1
0
void ParaTerrain::TerrainLattice::ResizeTextureMaskWidth( int nWidth )
{
	TerrainTileCacheMap_type::iterator itCurCP, itEndCP = m_pCachedTerrains.end();
	for( itCurCP = m_pCachedTerrains.begin(); itCurCP != itEndCP; ++ itCurCP)
	{
		Terrain* pTerrain = (*itCurCP).second.pTerrain;
		if(pTerrain)
		{
			pTerrain->ResizeTextureMaskWidth(nWidth);
		}
	}
}