diff options
author | UbitUmarov | 2015-09-01 11:43:07 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-01 11:43:07 +0100 |
commit | fb78b182520fc9bb0f971afd0322029c70278ea6 (patch) | |
tree | b4e30d383938fdeef8c92d1d1c2f44bb61d329bd /bin/assets/ScriptsAssetSet/llAngleBetween.lsl | |
parent | lixo (diff) | |
parent | Mantis #7713: fixed bug introduced by 1st MOSES patch. (diff) | |
download | opensim-SC-fb78b182520fc9bb0f971afd0322029c70278ea6.zip opensim-SC-fb78b182520fc9bb0f971afd0322029c70278ea6.tar.gz opensim-SC-fb78b182520fc9bb0f971afd0322029c70278ea6.tar.bz2 opensim-SC-fb78b182520fc9bb0f971afd0322029c70278ea6.tar.xz |
Merge remote-tracking branch 'os/master'
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llAngleBetween.lsl')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llAngleBetween.lsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAngleBetween.lsl b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl new file mode 100644 index 0000000..21cd851 --- /dev/null +++ b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl | |||
@@ -0,0 +1,11 @@ | |||
1 | default | ||
2 | { | ||
3 | state_entry() | ||
4 | { | ||
5 | rotation aRot = ZERO_ROTATION; | ||
6 | rotation bRot = llGetRot(); | ||
7 | float aBetween = llAngleBetween( aRot, bRot ); | ||
8 | llOwnerSay((string)aBetween); | ||
9 | //llGetRot() being < 0, 0, 90 > this should report 1.570796 | ||
10 | } | ||
11 | } | ||