aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
authorSignpostMarv2012-08-18 01:17:01 +0100
committerMelanie2012-08-18 13:21:55 +0100
commit5d7751da891360c665622562f06a15e02fea4922 (patch)
tree7c0439407e246f298c8258a4b4c4e37c27fd92eb /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-5d7751da891360c665622562f06a15e02fea4922.zip
opensim-SC_OLD-5d7751da891360c665622562f06a15e02fea4922.tar.gz
opensim-SC_OLD-5d7751da891360c665622562f06a15e02fea4922.tar.bz2
opensim-SC_OLD-5d7751da891360c665622562f06a15e02fea4922.tar.xz
refactoring for Vector3 operator & constructor tweaks
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 1571fb4..a05650a 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1467,7 +1467,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1467 else if (p[i] is string) 1467 else if (p[i] is string)
1468 lsl_p[i] = new LSL_Types.LSLString((string)p[i]); 1468 lsl_p[i] = new LSL_Types.LSLString((string)p[i]);
1469 else if (p[i] is Vector3) 1469 else if (p[i] is Vector3)
1470 lsl_p[i] = new LSL_Types.Vector3(((Vector3)p[i]).X, ((Vector3)p[i]).Y, ((Vector3)p[i]).Z); 1470 lsl_p[i] = new LSL_Types.Vector3((Vector3)p[i]);
1471 else if (p[i] is Quaternion) 1471 else if (p[i] is Quaternion)
1472 lsl_p[i] = new LSL_Types.Quaternion(((Quaternion)p[i]).X, ((Quaternion)p[i]).Y, ((Quaternion)p[i]).Z, ((Quaternion)p[i]).W); 1472 lsl_p[i] = new LSL_Types.Quaternion(((Quaternion)p[i]).X, ((Quaternion)p[i]).Y, ((Quaternion)p[i]).Z, ((Quaternion)p[i]).W);
1473 else if (p[i] is float) 1473 else if (p[i] is float)
@@ -1493,7 +1493,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1493 else if (p[i] is string) 1493 else if (p[i] is string)
1494 lsl_p[i] = new LSL_Types.LSLString((string)p[i]); 1494 lsl_p[i] = new LSL_Types.LSLString((string)p[i]);
1495 else if (p[i] is Vector3) 1495 else if (p[i] is Vector3)
1496 lsl_p[i] = new LSL_Types.Vector3(((Vector3)p[i]).X, ((Vector3)p[i]).Y, ((Vector3)p[i]).Z); 1496 lsl_p[i] = new LSL_Types.Vector3((Vector3)p[i]);
1497 else if (p[i] is Quaternion) 1497 else if (p[i] is Quaternion)
1498 lsl_p[i] = new LSL_Types.Quaternion(((Quaternion)p[i]).X, ((Quaternion)p[i]).Y, ((Quaternion)p[i]).Z, ((Quaternion)p[i]).W); 1498 lsl_p[i] = new LSL_Types.Quaternion(((Quaternion)p[i]).X, ((Quaternion)p[i]).Y, ((Quaternion)p[i]).Z, ((Quaternion)p[i]).W);
1499 else if (p[i] is float) 1499 else if (p[i] is float)