aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Util.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 2276951..b84673b 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -342,6 +342,11 @@ namespace OpenSim.Framework
342 return Utils.UIntsToLong(X, Y); 342 return Utils.UIntsToLong(X, Y);
343 } 343 }
344 344
345 public static ulong RegionLocToHandle(uint X, uint Y)
346 {
347 return Utils.UIntsToLong(Util.RegionToWorldLoc(X), Util.RegionToWorldLoc(Y));
348 }
349
345 public static void RegionHandleToWorldLoc(ulong handle, out uint X, out uint Y) 350 public static void RegionHandleToWorldLoc(ulong handle, out uint X, out uint Y)
346 { 351 {
347 X = (uint)(handle >> 32); 352 X = (uint)(handle >> 32);