diff options
author | Justin Clarke Casey | 2008-11-17 21:00:34 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-17 21:00:34 +0000 |
commit | c25a0ea7923aa390d30b8eebdbca4e599edf9b0d (patch) | |
tree | 775133790681153be9edc6d640162271750a1fd0 /OpenSim/Framework/Util.cs | |
parent | * minor: add interface version to 'show version' command output (diff) | |
download | opensim-SC_OLD-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.zip opensim-SC_OLD-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.tar.gz opensim-SC_OLD-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.tar.bz2 opensim-SC_OLD-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.tar.xz |
* Update libOMV to r2359. This is necessary for the progressive texture patch
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
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; |