add auxiliar functions float osVecMagSquare(a), float osVecDistSquare(vector a), float osAngleBetween(vector a, vector b) and float osRound(ffloat value, integer ndigits)

This commit is contained in:
UbitUmarov
2018-04-03 23:00:37 +01:00
parent 86d8f2af5b
commit e031d79d48
4 changed files with 60 additions and 0 deletions

View File

@@ -506,5 +506,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
LSL_Integer osTeleportObject(LSL_Key objectUUID, vector targetPos, rotation targetrotation, LSL_Integer flags);
LSL_Integer osGetLinkNumber(LSL_String name);
LSL_Float osRound(LSL_Float value, LSL_Integer digits);
LSL_Float osVecMagSquare(vector a);
LSL_Float osVecDistSquare(vector a, vector b);
LSL_Float osAngleBetween(vector a, vector b);
}
}