Difference between revisions of "LlRot2Fwd/ja"
Jump to navigation
Jump to search
Mako Nozaki (talk | contribs) m (Undo revision 850442 by Mako Nozaki (Talk)) |
Mako Nozaki (talk | contribs) |
||
Line 3: | Line 3: | ||
|func=llRot2Fwd|sort=Rot2Fwd | |func=llRot2Fwd|sort=Rot2Fwd | ||
|return_type=vector|p1_type=rotation|p1_name=q | |return_type=vector|p1_type=rotation|p1_name=q | ||
| | |func_desc={{HoverText|ローカル X 軸|プリム前方}} の {{HoverLink|Viewer_coordinate_frames/ja#Global|グローバル位置システム|地球}} に対する方向を計算します。<br/> | ||
| | |return_text='''q''' で定義される前方ベクトル、言い換えれば、ローカルの正の X 方向を指す単位ベクトル | ||
|return_text= | |func_footnote=プリムのローカル {{HoverText|正面|局所平面}} の方向を知るのに便利です。X 軸は常にこの正面に対して垂直ですので。 | ||
|spec | |spec=計算上同じ結果となります: | ||
<lsl>ret = llVecNorm(<1., 0., 0.> * q);</lsl> | |||
'''q''' が単位ベクトルであるとわかっているなら、シンプルにできます: | |||
<lsl>ret = <1., 0., 0.> * q;</lsl> | |||
|caveats | |caveats | ||
|constants | |constants | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions= | |also_functions= | ||
{{LSL DefineRow||{{LSLG/ja|llRot2Left}}}} | |||
{{LSL DefineRow||{{LSLG/ja|llRot2Up}}}} | |||
{{LSL DefineRow||{{LSLG/ja|llRot2Axis}}}} | |||
{{LSL DefineRow||{{LSLG/ja|llRot2Angle}}}} | |||
|also_tests | |also_tests | ||
|also_events | |also_events | ||
|also_articles | |also_articles | ||
|notes | |notes | ||
|cat1=Rotation | |cat1=Rotation | ||
|cat2 | |cat2 |
Revision as of 15:24, 8 May 2010
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
仕様
計算上同じ結果となります: <lsl>ret = llVecNorm(<1., 0., 0.> * q);</lsl> q が単位ベクトルであるとわかっているなら、シンプルにできます: <lsl>ret = <1., 0., 0.> * q;</lsl>
サンプル
関連項目
関数
• | llRot2Left | |||
• | llRot2Up | |||
• | llRot2Axis | |||
• | llRot2Angle |
特記事項
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。