aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
diff options
context:
space:
mode:
authorMike Mazur2008-07-28 02:36:18 +0000
committerMike Mazur2008-07-28 02:36:18 +0000
commit82fa53a486b16687131a0f85ba02b579b5456f3a (patch)
tree838c216f27f69af1428abbd26c3b0c7fdd984642 /OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
parentRefresh LSLTypes.cs in Shared/ from the one in Common/, which was (diff)
downloadopensim-SC_OLD-82fa53a486b16687131a0f85ba02b579b5456f3a.zip
opensim-SC_OLD-82fa53a486b16687131a0f85ba02b579b5456f3a.tar.gz
opensim-SC_OLD-82fa53a486b16687131a0f85ba02b579b5456f3a.tar.bz2
opensim-SC_OLD-82fa53a486b16687131a0f85ba02b579b5456f3a.tar.xz
-copy LSL_Types tests from Common/ to Shared/
-fix some whitespace/formatting
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_Types.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index 5607706..bb1fe2f 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -1285,7 +1285,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1285 { 1285 {
1286 return new LSLInteger(u); 1286 return new LSLInteger(u);
1287 } 1287 }
1288 1288
1289 static public explicit operator LSLInteger(double d) 1289 static public explicit operator LSLInteger(double d)
1290 { 1290 {
1291 return new LSLInteger(d); 1291 return new LSLInteger(d);
@@ -1322,7 +1322,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1322 { 1322 {
1323 return new LSLInteger(i1.value / i2); 1323 return new LSLInteger(i1.value / i2);
1324 } 1324 }
1325 1325
1326 static public LSLFloat operator +(LSLInteger i1, double f) 1326 static public LSLFloat operator +(LSLInteger i1, double f)
1327 { 1327 {
1328 return new LSLFloat((double)i1.value + f); 1328 return new LSLFloat((double)i1.value + f);
@@ -1510,7 +1510,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1510 { 1510 {
1511 return new LSLFloat(f.value / (double)i); 1511 return new LSLFloat(f.value / (double)i);
1512 } 1512 }
1513 1513
1514 static public LSLFloat operator +(LSLFloat lhs, LSLFloat rhs) 1514 static public LSLFloat operator +(LSLFloat lhs, LSLFloat rhs)
1515 { 1515 {
1516 return new LSLFloat(lhs.value + rhs.value); 1516 return new LSLFloat(lhs.value + rhs.value);