diff options
author | SignpostMarv | 2012-07-27 10:49:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-28 00:09:11 +0100 |
commit | 72d29bdb40c16ba4785b16e4025bf810baa96cb5 (patch) | |
tree | e68e7163cb1ef623d961f397560b6f9e5db3be3f /OpenSim/Region/ScriptEngine/Shared/Api/Interface | |
parent | Avoid a race condition between the scene shutdown thread and the update threa... (diff) | |
download | opensim-SC_OLD-72d29bdb40c16ba4785b16e4025bf810baa96cb5.zip opensim-SC_OLD-72d29bdb40c16ba4785b16e4025bf810baa96cb5.tar.gz opensim-SC_OLD-72d29bdb40c16ba4785b16e4025bf810baa96cb5.tar.bz2 opensim-SC_OLD-72d29bdb40c16ba4785b16e4025bf810baa96cb5.tar.xz |
LSL/OSSL lacks Math.Min & Math.Max implementations.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index c9403eb..f73a85e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -283,5 +283,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
283 | /// <param name="thing"></param> | 283 | /// <param name="thing"></param> |
284 | /// <returns>1 if thing is a valid UUID, 0 otherwise</returns> | 284 | /// <returns>1 if thing is a valid UUID, 0 otherwise</returns> |
285 | LSL_Integer osIsUUID(string thing); | 285 | LSL_Integer osIsUUID(string thing); |
286 | |||
287 | /// <summary> | ||
288 | /// Wraps to Math.Min() | ||
289 | /// </summary> | ||
290 | /// <param name="a"></param> | ||
291 | /// <param name="b"></param> | ||
292 | /// <returns></returns> | ||
293 | LSL_Float osMin(double a, double b); | ||
294 | |||
295 | /// <summary> | ||
296 | /// Wraps to Math.max() | ||
297 | /// </summary> | ||
298 | /// <param name="a"></param> | ||
299 | /// <param name="b"></param> | ||
300 | /// <returns></returns> | ||
301 | LSL_Float osMax(double a, double b); | ||
286 | } | 302 | } |
287 | } | 303 | } |