LlAcos/ja

From Second Life Wiki
< LlAcos
Revision as of 05:20, 12 April 2010 by Mako Nozaki (talk | contribs) (Undo revision 851632 by Mako Nozaki (Talk))
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.

要約

関数: float llAcos( float val );

val ラジアンのアークコサインを float で返します。

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

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

サンプル

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

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

関連項目

関数

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

記事

•  "Wikipedia logo"三角関数

特記事項

Search JIRA for related Issues

Signature

function float llAcos( float val );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。