From 82fa53a486b16687131a0f85ba02b579b5456f3a Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Mon, 28 Jul 2008 02:36:18 +0000 Subject: -copy LSL_Types tests from Common/ to Shared/ -fix some whitespace/formatting --- OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Common') 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 { return new LSLInteger(u); } - + static public explicit operator LSLInteger(double d) { return new LSLInteger(d); @@ -1322,7 +1322,7 @@ namespace OpenSim.Region.ScriptEngine.Common { return new LSLInteger(i1.value / i2); } - + static public LSLFloat operator +(LSLInteger i1, double f) { return new LSLFloat((double)i1.value + f); @@ -1510,7 +1510,7 @@ namespace OpenSim.Region.ScriptEngine.Common { return new LSLFloat(f.value / (double)i); } - + static public LSLFloat operator +(LSLFloat lhs, LSLFloat rhs) { return new LSLFloat(lhs.value + rhs.value); -- cgit v1.1