llAcos/ja

From Second Life Wiki
< LlAcos
Revision as of 02:47, 14 December 2015 by Mizu Melody (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Function: float llAcos( float val );

Returns a float val ラジアンのアークコサイン

• float val [-1.0, 1.0] の範囲でなければいけません。(-1.0 <= val <= 1.0)

戻り値は [0, PI] の範囲にあります。

Examples

<lsl>// このスクリプトが入ったオブジェクトを touch すると乱数のアークコサインが表示されます。 default {

   touch_start(integer num)
   {
       float r = llFrand(2) - 1.0;
       llOwnerSay((string)r + " のアークコサインは " + (string)llAcos(r));
   }
}</lsl>

See Also

Functions

• llSin llAsin サインとその逆関数
• llCos コサイン
• llTan llAtan2 タンジェントとその逆関数

Articles

•  "Wikipedia logo"三角関数

Deep Notes

Search JIRA for related Issues

Signature

function float llAcos( float val );