define constants for simulation height (-100,50000m) and terrain heightmap (-100,4000). No option. compile time decision. use them at ubOde

This commit is contained in:
UbitUmarov
2020-10-12 23:20:37 +01:00
parent c7c82773d0
commit 9773ff42c2
4 changed files with 11 additions and 7 deletions

View File

@@ -43,9 +43,15 @@ namespace OpenSim.Framework
public const uint MaximumRegionSize = 4096;
// Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum
public const int MinRegionSize = 16;
// but for placement on a grid min must be 256m
public const int MinRegionSize = 256;
public const int TerrainPatchSize = 16;
public const float MinSimulationHeight = -100f;
public const float MaxSimulationHeight = 50000f;
public const float MinTerrainHeightmap = -100f;
public const float MaxTerrainHeightmap = 4000f;
public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f";
public static readonly UUID m_MrOpenSimID = new UUID("11111111-1111-0000-0000-000100bba000");