Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="source"></param>
 /// <param name="shoreLength">the distance from the start of the beach to the water</param>
 /// <param name="waterLevel"></param>
 /// <param name="shoreHeight">the height as measured from the water level</param>
 /// <param name="type"></param>
 /// <param name="method"></param>
 public HeightMapIslandTrim(IHeightMap source, float shoreLength, float waterLevel, float shoreHeight, IslandShape type, IslandTrimMethod method)
 {
     mSource      = source;
     mWaterLevel  = waterLevel;
     mShoreHeight = shoreHeight;
     mShoreLength = shoreLength;
     mType        = type;
     mMethod      = method;
 }
Example #2
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="source"></param>
		/// <param name="shoreLength">the distance from the start of the beach to the water</param>
		/// <param name="waterLevel"></param>
		/// <param name="shoreHeight">the height as measured from the water level</param>
		/// <param name="type"></param>
		/// <param name="method"></param>
		public HeightMapIslandTrim( IHeightMap source, float shoreLength, float waterLevel, float shoreHeight, IslandShape type, IslandTrimMethod method ) {
			mSource = source;
			mWaterLevel = waterLevel;
			mShoreHeight = shoreHeight;
			mShoreLength = shoreLength;
			mType = type;
			mMethod = method;
		}