mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user