mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
revert introduction of some in arguments
This commit is contained in:
@@ -537,7 +537,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||
}
|
||||
}
|
||||
|
||||
protected Hashtable NoEvents(in UUID requestID, in UUID sessionID)
|
||||
protected Hashtable NoEvents(UUID requestID, UUID sessionID)
|
||||
{
|
||||
Hashtable response = new Hashtable();
|
||||
UrlData url;
|
||||
@@ -569,7 +569,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||
return response;
|
||||
}
|
||||
|
||||
protected bool HasEvents(in UUID requestID, in UUID sessionID)
|
||||
protected bool HasEvents(UUID requestID, UUID sessionID)
|
||||
{
|
||||
UrlData url=null;
|
||||
|
||||
@@ -591,7 +591,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||
}
|
||||
}
|
||||
|
||||
protected void Drop(in UUID requestID, in UUID _)
|
||||
protected void Drop(UUID requestID, UUID _)
|
||||
{
|
||||
UrlData url = null;
|
||||
lock (m_RequestMap)
|
||||
@@ -608,7 +608,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||
}
|
||||
}
|
||||
|
||||
protected Hashtable GetEvents(in UUID requestID, in UUID sessionID)
|
||||
protected Hashtable GetEvents(UUID requestID, UUID sessionID)
|
||||
{
|
||||
UrlData url = null;
|
||||
|
||||
@@ -689,7 +689,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||
return resp;
|
||||
}
|
||||
|
||||
public OSHttpResponse HttpRequestHandler(in UUID requestID, OSHttpRequest request)
|
||||
public OSHttpResponse HttpRequestHandler(UUID requestID, OSHttpRequest request)
|
||||
{
|
||||
lock (request)
|
||||
{
|
||||
|
||||
@@ -817,13 +817,13 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
|
||||
private static warp_Vector ConvertVector(in Vector3 vector)
|
||||
private static warp_Vector ConvertVector(Vector3 vector)
|
||||
{
|
||||
return new warp_Vector(vector.X, vector.Z, vector.Y);
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
|
||||
private static warp_Quaternion ConvertQuaternion(in Quaternion quat)
|
||||
private static warp_Quaternion ConvertQuaternion(Quaternion quat)
|
||||
{
|
||||
return new warp_Quaternion(quat.X, quat.Z, quat.Y, -quat.W);
|
||||
}
|
||||
@@ -835,7 +835,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
|
||||
return c;
|
||||
}
|
||||
|
||||
private static Vector3 SurfaceNormal(in Vector3 c1, in Vector3 c2, in Vector3 c3)
|
||||
private static Vector3 SurfaceNormal(Vector3 c1, Vector3 c2, Vector3 c3)
|
||||
{
|
||||
Vector3 normal = Vector3.Cross(c2 - c1, c3 - c1);
|
||||
normal.Normalize();
|
||||
|
||||
Reference in New Issue
Block a user