quaternion.euler_new
code:Lua
q = textmodule.quaternion.euler_new(x, y, z)
モジュール
quaternion
引数
table:_
変数 型 概要
1 x number 角度(ラジアン)
2 y number 角度(ラジアン)
3 z number 角度(ラジアン)
返り値
table:_
変数 型 概要
1 q userdata 四元数クラス
概要
オイラー角x, y, z(rad)を指定して、四元数クラスqを生成する。