aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Constants.cs
diff options
context:
space:
mode:
authorRobert Adams2013-10-16 07:52:30 -0700
committerRobert Adams2013-10-16 07:52:30 -0700
commit97bc5263de990ce80fc0adfbdb632ba8c5cbb77b (patch)
tree6d6d27ea6f8b8d93a8622f6fd9b257387ac7ca94 /OpenSim/Framework/Constants.cs
parentMerge branch 'master' into varregion (diff)
downloadopensim-SC-97bc5263de990ce80fc0adfbdb632ba8c5cbb77b.zip
opensim-SC-97bc5263de990ce80fc0adfbdb632ba8c5cbb77b.tar.gz
opensim-SC-97bc5263de990ce80fc0adfbdb632ba8c5cbb77b.tar.bz2
opensim-SC-97bc5263de990ce80fc0adfbdb632ba8c5cbb77b.tar.xz
varregion: move the compressed heighmap compression factor from
Constants into TerrainData. Save compression factor with the terrain blob in the database.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Constants.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs
index 9ddb34b..d18b32e 100644
--- a/OpenSim/Framework/Constants.cs
+++ b/OpenSim/Framework/Constants.cs
@@ -36,8 +36,6 @@ namespace OpenSim.Framework
36 public const uint RegionSize = 256; 36 public const uint RegionSize = 256;
37 public const uint RegionHeight = 4096; 37 public const uint RegionHeight = 4096;
38 38
39 // Terrain heightmap is kept as shorts that are the float value times this compression factor
40 public const float TerrainCompression = 100.0f;
41 // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum 39 // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum
42 public const int MinRegionSize = 16; 40 public const int MinRegionSize = 16;
43 public const int TerrainPatchSize = 16; 41 public const int TerrainPatchSize = 16;