diff options
author | Melanie Thielker | 2008-11-19 06:25:34 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-19 06:25:34 +0000 |
commit | f518ca7feb33c0c1641ccb8f3956246b855f9b6c (patch) | |
tree | 8dafdff97f14290b259bb04a03c5e7bb98756c24 /OpenSim/Framework/Util.cs | |
parent | Reverting the texture sending patch and the new libOMV. This makes this (diff) | |
download | opensim-SC-f518ca7feb33c0c1641ccb8f3956246b855f9b6c.zip opensim-SC-f518ca7feb33c0c1641ccb8f3956246b855f9b6c.tar.gz opensim-SC-f518ca7feb33c0c1641ccb8f3956246b855f9b6c.tar.bz2 opensim-SC-f518ca7feb33c0c1641ccb8f3956246b855f9b6c.tar.xz |
Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
libOMV.
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index f72797f..f0ad1d5 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -185,7 +185,7 @@ namespace OpenSim.Framework | |||
185 | 185 | ||
186 | public static ulong UIntsToLong(uint X, uint Y) | 186 | public static ulong UIntsToLong(uint X, uint Y) |
187 | { | 187 | { |
188 | return Helpers.UIntsToLong(X, Y); | 188 | return Utils.UIntsToLong(X, Y); |
189 | } | 189 | } |
190 | 190 | ||
191 | public static T Clamp<T>(T x, T min, T max) | 191 | public static T Clamp<T>(T x, T min, T max) |
@@ -783,9 +783,9 @@ namespace OpenSim.Framework | |||
783 | public static void ParseFakeParcelID(UUID parcelID, out ulong regionHandle, out uint x, out uint y) | 783 | public static void ParseFakeParcelID(UUID parcelID, out ulong regionHandle, out uint x, out uint y) |
784 | { | 784 | { |
785 | byte[] bytes = parcelID.GetBytes(); | 785 | byte[] bytes = parcelID.GetBytes(); |
786 | regionHandle = Helpers.BytesToUInt64(bytes); | 786 | regionHandle = Utils.BytesToUInt64(bytes); |
787 | x = Helpers.BytesToUInt(bytes, 8); | 787 | x = Utils.BytesToUInt(bytes, 8); |
788 | y = Helpers.BytesToUInt(bytes, 12); | 788 | y = Utils.BytesToUInt(bytes, 12); |
789 | } | 789 | } |
790 | 790 | ||
791 | public static void FakeParcelIDToGlobalPosition(UUID parcelID, out uint x, out uint y) | 791 | public static void FakeParcelIDToGlobalPosition(UUID parcelID, out uint x, out uint y) |
@@ -794,7 +794,7 @@ namespace OpenSim.Framework | |||
794 | uint rx, ry; | 794 | uint rx, ry; |
795 | 795 | ||
796 | ParseFakeParcelID(parcelID, out regionHandle, out x, out y); | 796 | ParseFakeParcelID(parcelID, out regionHandle, out x, out y); |
797 | Helpers.LongToUInts(regionHandle, out rx, out ry); | 797 | Utils.LongToUInts(regionHandle, out rx, out ry); |
798 | 798 | ||
799 | x += rx; | 799 | x += rx; |
800 | y += ry; | 800 | y += ry; |