Skip to content

Commit

Permalink
heightmap min/max init
Browse files Browse the repository at this point in the history
  • Loading branch information
xfischer committed Apr 3, 2020
1 parent 3b93492 commit 316cbca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DEM.Net.Core/Model/HeightMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public HeightMap(int width, int height)
Height = height;
Coordinates = null;
Count = width * height;
Minimum = float.MaxValue;
Maximum = float.MinValue;
}

private BoundingBox _bbox;
Expand Down

0 comments on commit 316cbca

Please sign in to comment.