diff options
author | Robert Adams | 2014-01-04 10:39:05 -0800 |
---|---|---|
committer | Robert Adams | 2014-01-04 19:01:03 -0800 |
commit | d9848943a96672b14fb9a6be58c4adc1e1552f3c (patch) | |
tree | 75b684d637e5a783a5d6f637808d60fe534eaa59 /OpenSim/Framework/Constants.cs | |
parent | Dynamically adjust to the number of visual params sent. (diff) | |
download | opensim-SC-d9848943a96672b14fb9a6be58c4adc1e1552f3c.zip opensim-SC-d9848943a96672b14fb9a6be58c4adc1e1552f3c.tar.gz opensim-SC-d9848943a96672b14fb9a6be58c4adc1e1552f3c.tar.bz2 opensim-SC-d9848943a96672b14fb9a6be58c4adc1e1552f3c.tar.xz |
Add routines in Util.cs for conversion of region handles to region
locations and for the conversion of region world location to region
'region' location. These routines will replace all the arithmatic
scattered throughout OpenSimulator.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Constants.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 3468cea..3ba264c 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs | |||
@@ -38,7 +38,10 @@ namespace OpenSim.Framework | |||
38 | // This could be a parameters but, really, a region of greater than this is pretty unmanageable | 38 | // This could be a parameters but, really, a region of greater than this is pretty unmanageable |
39 | public const uint MaximumRegionSize = 8192; | 39 | public const uint MaximumRegionSize = 8192; |
40 | 40 | ||
41 | public const byte TerrainPatchSize = 16; | 41 | // 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; | ||
43 | public const int TerrainPatchSize = 16; | ||
44 | |||
42 | public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f"; | 45 | public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f"; |
43 | 46 | ||
44 | public enum EstateAccessCodex : uint | 47 | public enum EstateAccessCodex : uint |