aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 3885ba6..cf16571 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5707,8 +5707,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5707 } 5707 }
5708 5708
5709 ILandObject land; 5709 ILandObject land;
5710 Vector3 pos;
5711 UUID id = UUID.Zero; 5710 UUID id = UUID.Zero;
5711
5712 if (parcel || parcelOwned) 5712 if (parcel || parcelOwned)
5713 { 5713 {
5714 land = World.LandChannel.GetLandObject(m_host.ParentGroup.RootPart.GetWorldPosition()); 5714 land = World.LandChannel.GetLandObject(m_host.ParentGroup.RootPart.GetWorldPosition());
@@ -11028,7 +11028,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
11028 World.ForEachScenePresence(delegate(ScenePresence sp) 11028 World.ForEachScenePresence(delegate(ScenePresence sp)
11029 { 11029 {
11030 Vector3 ac = sp.AbsolutePosition - rayStart; 11030 Vector3 ac = sp.AbsolutePosition - rayStart;
11031 Vector3 bc = sp.AbsolutePosition - rayEnd; 11031// Vector3 bc = sp.AbsolutePosition - rayEnd;
11032 11032
11033 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd)); 11033 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd));
11034 11034
@@ -11118,7 +11118,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
11118 radius = Math.Abs(maxZ); 11118 radius = Math.Abs(maxZ);
11119 radius = radius*1.413f; 11119 radius = radius*1.413f;
11120 Vector3 ac = group.AbsolutePosition - rayStart; 11120 Vector3 ac = group.AbsolutePosition - rayStart;
11121 Vector3 bc = group.AbsolutePosition - rayEnd; 11121// Vector3 bc = group.AbsolutePosition - rayEnd;
11122 11122
11123 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd)); 11123 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd));
11124 11124