diff options
author | Justin Clark-Casey (justincc) | 2013-03-14 22:28:40 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-14 22:29:09 +0000 |
commit | e6eb9146756a9c49aef018cdfd403c10c2bc82d6 (patch) | |
tree | b62816b85739a53308c5e0c152a5eb09dfea0704 /OpenSim/Region/ScriptEngine | |
parent | minor: Reuse ground LSL_Vector in llGroundSlope() rather than creating a new ... (diff) | |
download | opensim-SC_OLD-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.zip opensim-SC_OLD-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.tar.gz opensim-SC_OLD-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.tar.bz2 opensim-SC_OLD-e6eb9146756a9c49aef018cdfd403c10c2bc82d6.tar.xz |
refactor: use LSL_Vector(Vector3) constructor in llGroundNormal()
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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) |