From 35b0c2e9dfbbf811c12c9e3e7d4359a13b987977 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Mon, 7 Jan 2008 01:03:46 +0000 Subject: More inventory work for CharlieO. Final patch to make it all work yet to come. --- bin/assets/ScriptsAssetSet/llAtan2.lsl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bin/assets/ScriptsAssetSet/llAtan2.lsl (limited to 'bin/assets/ScriptsAssetSet/llAtan2.lsl') diff --git a/bin/assets/ScriptsAssetSet/llAtan2.lsl b/bin/assets/ScriptsAssetSet/llAtan2.lsl new file mode 100644 index 0000000..95e0877 --- /dev/null +++ b/bin/assets/ScriptsAssetSet/llAtan2.lsl @@ -0,0 +1,11 @@ +default +{ + state_entry() + { + float num1 = llFrand(100.0); + float num2 = llFrand(100.0); + llOwnerSay("y = " + (string)num1); + llOwnerSay("x = " + (string)num2); + llOwnerSay("The tangent of y divided by x is " + (string)llAtan2(num1, num2)); + } +} -- cgit v1.1