CrossFramework Library

クラス XBase::Quaternion

#include <XBase/Quaternion.hpp>


32bit浮動小数のクォータニオンクラス。

すべてのメンバ一覧

変数
f32 x
 x。
f32 y
 y。
f32 z
 z。
f32 w
 w。

コンストラクタ
 Quaternion ()
 単位クォータニオンの作成。
 Quaternion (f32 aX, f32 aY, f32 aZ, f32 aW)
 各要素の値を指定して作成。
 Quaternion (const Vector3POD &aAxis, const Angle &aAngle)
 任意軸回転用クォータニオンの作成。
計算
const Quaternion mul (const Quaternion &) const
 乗算した結果を得る。this x rhs。
QuaternionmulAssign (const Quaternion &)
 乗算。this x rhs。
変換
const Matrix34POD toRotateMatrix () const
 回転行列に変換。
演算子オーバーロード
const Quaternion operator* (const Quaternion &) const
 mulのエイリアス。
Quaternionoperator*= (const Quaternion &)
 mulAssignのエイリアス。
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義