llAtan2.lsl 287 B

1234567891011
  1. default
  2. {
  3. state_entry()
  4. {
  5. float num1 = llFrand(100.0);
  6. float num2 = llFrand(100.0);
  7. llOwnerSay("y = " + (string)num1);
  8. llOwnerSay("x = " + (string)num2);
  9. llOwnerSay("The tangent of y divided by x is " + (string)llAtan2(num1, num2));
  10. }
  11. }