diff options
author | Charles Krinke | 2008-07-15 03:17:45 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-15 03:17:45 +0000 |
commit | 4848dcf0e3a435edbf33b24796d838020563f99d (patch) | |
tree | 53d7a99e201d6d630821675014e699a9dac5ce1d /OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |
parent | Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that: (diff) | |
download | opensim-SC_OLD-4848dcf0e3a435edbf33b24796d838020563f99d.zip opensim-SC_OLD-4848dcf0e3a435edbf33b24796d838020563f99d.tar.gz opensim-SC_OLD-4848dcf0e3a435edbf33b24796d838020563f99d.tar.bz2 opensim-SC_OLD-4848dcf0e3a435edbf33b24796d838020563f99d.tar.xz |
I had to revert the Mantis#1746 patch as although the local build
with Windows compiled, the automated build failed.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_Types.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 3dfa711..eb13f45 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |||
@@ -141,9 +141,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
141 | return new Vector3(lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z); | 141 | return new Vector3(lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z); |
142 | } | 142 | } |
143 | 143 | ||
144 | public static LSLFloat operator *(Vector3 lhs, Vector3 rhs) | 144 | public static Vector3 operator *(Vector3 lhs, Vector3 rhs) |
145 | { | 145 | { |
146 | return Dot(lhs, rhs); | 146 | return new Vector3(lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z); |
147 | } | 147 | } |
148 | 148 | ||
149 | public static Vector3 operator %(Vector3 v1, Vector3 v2) | 149 | public static Vector3 operator %(Vector3 v1, Vector3 v2) |