mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
LSL/OSSL lacks Math.Min & Math.Max implementations.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
7e89b99e6a
commit
72d29bdb40
@@ -283,5 +283,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
/// <param name="thing"></param>
|
||||
/// <returns>1 if thing is a valid UUID, 0 otherwise</returns>
|
||||
LSL_Integer osIsUUID(string thing);
|
||||
|
||||
/// <summary>
|
||||
/// Wraps to Math.Min()
|
||||
/// </summary>
|
||||
/// <param name="a"></param>
|
||||
/// <param name="b"></param>
|
||||
/// <returns></returns>
|
||||
LSL_Float osMin(double a, double b);
|
||||
|
||||
/// <summary>
|
||||
/// Wraps to Math.max()
|
||||
/// </summary>
|
||||
/// <param name="a"></param>
|
||||
/// <param name="b"></param>
|
||||
/// <returns></returns>
|
||||
LSL_Float osMax(double a, double b);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user