mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user