public void UpdateMapTerrain(CombinedMapData mapToUpdate) { MapDescriptor desc = mapToUpdate.GetMapDescriptor(); if (!TerrainToProcess.Contains(desc)) { desc.Tag = mapToUpdate; TerrainToProcess.Enqueue(desc); } }
public void UpdateMapTexture(CombinedMapData mapToUpdate) { if (mapToUpdate.ZoomLevel > EarthTiles.MaxGoogleZoom) mapToUpdate.ZoomLevel = EarthTiles.MaxGoogleZoom; MapDescriptor desc = mapToUpdate.GetMapDescriptor(); if (!TexturesToProcess.Contains(desc)) TexturesToProcess.Enqueue(desc); }
public bool Equals(CombinedMapData other) { if (!other.GetMapDescriptor().Equals(desc)) return false; if (other.TextureMipMaps != this.TextureMipMaps) return false; return base.Equals(other); }