mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* minor: Move GetRandomCapsPath() to a CapsUtil class
This commit is contained in:
@@ -334,14 +334,6 @@ namespace OpenSim.Framework
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static string GetRandomCapsPath()
|
||||
{
|
||||
UUID caps = UUID.Random();
|
||||
string capsPath = caps.ToString();
|
||||
capsPath = capsPath.Remove(capsPath.Length - 4, 4);
|
||||
return capsPath;
|
||||
}
|
||||
|
||||
public static int fast_distance2d(int x, int y)
|
||||
{
|
||||
x = Math.Abs(x);
|
||||
|
||||
Reference in New Issue
Block a user