aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-14 22:28:40 +0000
committerJustin Clark-Casey (justincc)2013-03-14 22:29:09 +0000
commite6eb9146756a9c49aef018cdfd403c10c2bc82d6 (patch)
treeb62816b85739a53308c5e0c152a5eb09dfea0704 /OpenSim/Region
parentminor: Reuse ground LSL_Vector in llGroundSlope() rather than creating a new ... (diff)
downloadopensim-SC-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.zip
opensim-SC-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.tar.gz
opensim-SC-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.tar.bz2
opensim-SC-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.tar.xz
refactor: use LSL_Vector(Vector3) constructor in llGroundNormal()
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 6414f35..6aae784 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6071,7 +6071,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6071 //I believe the crossproduct of two normalized vectors is a normalized vector so 6071 //I believe the crossproduct of two normalized vectors is a normalized vector so
6072 //this normalization may be overkill 6072 //this normalization may be overkill
6073 6073
6074 return new LSL_Vector(vsn.X, vsn.Y, vsn.Z); 6074 return new LSL_Vector(vsn);
6075 } 6075 }
6076 6076
6077 public LSL_Vector llGroundContour(LSL_Vector offset) 6077 public LSL_Vector llGroundContour(LSL_Vector offset)