diff options
author | Mike Mazur | 2008-07-28 02:36:18 +0000 |
---|---|---|
committer | Mike Mazur | 2008-07-28 02:36:18 +0000 |
commit | 82fa53a486b16687131a0f85ba02b579b5456f3a (patch) | |
tree | 838c216f27f69af1428abbd26c3b0c7fdd984642 /OpenSim/Region/ScriptEngine/Common | |
parent | Refresh LSLTypes.cs in Shared/ from the one in Common/, which was (diff) | |
download | opensim-SC-82fa53a486b16687131a0f85ba02b579b5456f3a.zip opensim-SC-82fa53a486b16687131a0f85ba02b579b5456f3a.tar.gz opensim-SC-82fa53a486b16687131a0f85ba02b579b5456f3a.tar.bz2 opensim-SC-82fa53a486b16687131a0f85ba02b579b5456f3a.tar.xz |
-copy LSL_Types tests from Common/ to Shared/
-fix some whitespace/formatting
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 6 |
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); |