diff options
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llAngleBetween.lsl')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llAngleBetween.lsl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAngleBetween.lsl b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl index 441be1b..21cd851 100644 --- a/bin/assets/ScriptsAssetSet/llAngleBetween.lsl +++ b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl | |||
@@ -1,11 +1,11 @@ | |||
1 | default | 1 | default |
2 | { | 2 | { |
3 | state_entry() | 3 | state_entry() |
4 | { | 4 | { |
5 | rotation aRot = ZERO_ROTATION; | 5 | rotation aRot = ZERO_ROTATION; |
6 | rotation bRot = llGetRot(); | 6 | rotation bRot = llGetRot(); |
7 | float aBetween = llAngleBetween( aRot, bRot ); | 7 | float aBetween = llAngleBetween( aRot, bRot ); |
8 | llOwnerSay((string)aBetween); | 8 | llOwnerSay((string)aBetween); |
9 | //llGetRot() being < 0, 0, 90 > this should report 1.570796 | 9 | //llGetRot() being < 0, 0, 90 > this should report 1.570796 |
10 | } | 10 | } |
11 | } | 11 | } |