aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet/llAngleBetween.lsl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llAngleBetween.lsl')
-rw-r--r--bin/assets/ScriptsAssetSet/llAngleBetween.lsl11
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..441be1b
--- /dev/null
+++ b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl
@@ -0,0 +1,11 @@
1default
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}