protected override void PrepareBuild() { if (LowerAngleBound >= UpperAngleBound || LowerHeightBound >= UpperHeightBound || destWidth <= 0 || destHeight <= 0 || SourceModule == null || DestNoiseMap == null) { throw new InvalidOperationException("Builder isn't properly set up."); } DestNoiseMap.SetSize(destHeight, destWidth); }
protected override void PrepareBuild() { if (EastLonBound <= WestLonBound || NorthLatBound <= SouthLatBound || destWidth <= 0 || destHeight <= 0 || SourceModule == null || DestNoiseMap == null) { throw new InvalidOperationException("Builder isn't properly set up."); } DestNoiseMap.SetSize(destHeight, destWidth); }