aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorSignpostMarv2012-07-27 10:49:47 +0100
committerJustin Clark-Casey (justincc)2012-07-28 00:09:11 +0100
commit72d29bdb40c16ba4785b16e4025bf810baa96cb5 (patch)
treee68e7163cb1ef623d961f397560b6f9e5db3be3f /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentAvoid a race condition between the scene shutdown thread and the update threa... (diff)
downloadopensim-SC-72d29bdb40c16ba4785b16e4025bf810baa96cb5.zip
opensim-SC-72d29bdb40c16ba4785b16e4025bf810baa96cb5.tar.gz
opensim-SC-72d29bdb40c16ba4785b16e4025bf810baa96cb5.tar.bz2
opensim-SC-72d29bdb40c16ba4785b16e4025bf810baa96cb5.tar.xz
LSL/OSSL lacks Math.Min & Math.Max implementations.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index 99995a7..53daa13 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -935,5 +935,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
935 { 935 {
936 return m_OSSL_Functions.osIsUUID(thing); 936 return m_OSSL_Functions.osIsUUID(thing);
937 } 937 }
938
939 public LSL_Float osMin(double a, double b)
940 {
941 return m_OSSL_Functions.osMin(a, b);
942 }
943
944 public LSL_Float osMax(double a, double b)
945 {
946 return m_OSSL_Functions.osMax(a, b);
947 }
938 } 948 }
939} 949}