diff options
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llAsin.lsl')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llAsin.lsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAsin.lsl b/bin/assets/ScriptsAssetSet/llAsin.lsl new file mode 100644 index 0000000..02e9bd5 --- /dev/null +++ b/bin/assets/ScriptsAssetSet/llAsin.lsl | |||
@@ -0,0 +1,9 @@ | |||
1 | // Touch the object with this script in it to see the arcsine of random numbers! | ||
2 | default | ||
3 | { | ||
4 | touch_start(integer num) | ||
5 | { | ||
6 | float r = llFrand(2) - 1.0; | ||
7 | llOwnerSay("The arcsine of " + (string)r + " is " + llAsin(r)); | ||
8 | } | ||
9 | } | ||