Difference between revisions of "LlRot2Euler/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 10: Line 10:
|constants
|constants
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
Line 19: Line 19:
     }
     }
}
}
</lsl>
</source>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llEuler2Rot/ja|llEuler2Rot]]|}}
|also_functions={{LSL DefineRow||[[llEuler2Rot/ja|llEuler2Rot]]|}}

Latest revision as of 18:54, 27 December 2015

要約

関数: vector llRot2Euler( rotation quat );

quat のオイラー表現(ロール、ピッチ、ヨー)を vector で返します。

• rotation quat 任意の有効な回転

警告

  • PI(180°) より大きい角度は負の角度で返します。
All Issues ~ Search JIRA for related Bugs

サンプル

default
{
    state_entry()
    {
        rotation input = <0.0, 1.0, 0.0, 0.0>;//not advised to make your own quaternion
        llSay(0,"The Rot2Euler of "+(string)input+" is: "+(string)llRot2Euler(input) );
    }
}

関連項目

関数

•  llEuler2Rot

記事

•  "Wikipedia logo"Euler_Angles

特記事項

Search JIRA for related Issues

Signature

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