arsa
2.7
|
4x3行列 More...
#include <Effekseer.h>
Public Member Functions | |
void | Indentity () |
単位行列化を行う。 More... | |
void | Scaling (float x, float y, float z) |
拡大行列化を行う。 More... | |
void | RotationX (float angle) |
反時計周り方向のX軸回転行列化を行う。 More... | |
void | RotationY (float angle) |
反時計周り方向のY軸回転行列化を行う。 More... | |
void | RotationZ (float angle) |
反時計周り方向のZ軸回転行列化を行う。 More... | |
void | RotationXYZ (float rx, float ry, float rz) |
反時計周り方向のXYZ軸回転行列化を行う。 More... | |
void | RotationZXY (float rz, float rx, float ry) |
反時計周り方向のZXY軸回転行列化を行う。 More... | |
void | RotationAxis (const Vector3D &axis, float angle) |
任意軸に対する反時計周り方向回転行列化を行う。 More... | |
void | RotationAxis (const Vector3D &axis, float s, float c) |
任意軸に対する反時計周り方向回転行列化を行う。 More... | |
void | Translation (float x, float y, float z) |
移動行列化を行う。 More... | |
void | GetSRT (Vector3D &s, Matrix43 &r, Vector3D &t) const |
行列を、拡大、回転、移動の行列とベクトルに分解する。 More... | |
void | GetScale (Vector3D &s) const |
行列から拡大ベクトルを取得する。 More... | |
void | GetRotation (Matrix43 &r) const |
行列から回転行列を取得する。 More... | |
void | GetTranslation (Vector3D &t) const |
行列から移動ベクトルを取得する。 More... | |
void | SetSRT (const Vector3D &s, const Matrix43 &r, const Vector3D &t) |
行列の拡大、回転、移動を設定する。 More... | |
void | ToMatrix44 (Matrix44 &dst) |
convert into matrix44 More... | |
bool | IsValid () const |
check whether all values are not valid number(not nan, not inf) More... | |
Static Public Member Functions | |
static void | Multiple (Matrix43 &out, const Matrix43 &in1, const Matrix43 &in2) |
行列同士の乗算を行う。 More... | |
Public Attributes | |
float | Value [4][3] |
行列の値 More... | |
4x3行列
Definition at line 1130 of file Effekseer.h.
行列を、拡大、回転、移動の行列とベクトルに分解する。
s | [out] 拡大行列 |
r | [out] 回転行列 |
t | [out] 位置 |
行列から移動ベクトルを取得する。
t | [out] 移動ベクトル |
void Effekseer::Matrix43::Indentity | ( | ) |
単位行列化を行う。
bool Effekseer::Matrix43::IsValid | ( | ) | const |
check whether all values are not valid number(not nan, not inf)
|
static |
行列同士の乗算を行う。
out | [out] 結果 |
in1 | [in] 乗算の左側 |
in2 | [in] 乗算の右側 |
任意軸に対する反時計周り方向回転行列化を行う。
axis | [in] 回転軸 |
angle | [in] 角度(ラジアン) |
任意軸に対する反時計周り方向回転行列化を行う。
axis | [in] 回転軸 |
s | [in] サイン |
c | [in] コサイン |
void Effekseer::Matrix43::RotationX | ( | float | angle | ) |
反時計周り方向のX軸回転行列化を行う。
angle | [in] 角度(ラジアン) |
void Effekseer::Matrix43::RotationXYZ | ( | float | rx, |
float | ry, | ||
float | rz | ||
) |
反時計周り方向のXYZ軸回転行列化を行う。
rx | [in] 角度(ラジアン) |
ry | [in] 角度(ラジアン) |
rz | [in] 角度(ラジアン) |
void Effekseer::Matrix43::RotationY | ( | float | angle | ) |
反時計周り方向のY軸回転行列化を行う。
angle | [in] 角度(ラジアン) |
void Effekseer::Matrix43::RotationZ | ( | float | angle | ) |
反時計周り方向のZ軸回転行列化を行う。
angle | [in] 角度(ラジアン) |
void Effekseer::Matrix43::RotationZXY | ( | float | rz, |
float | rx, | ||
float | ry | ||
) |
反時計周り方向のZXY軸回転行列化を行う。
rz | [in] 角度(ラジアン) |
rx | [in] 角度(ラジアン) |
ry | [in] 角度(ラジアン) |
void Effekseer::Matrix43::Scaling | ( | float | x, |
float | y, | ||
float | z | ||
) |
拡大行列化を行う。
x | [in] X方向拡大率 |
y | [in] Y方向拡大率 |
z | [in] Z方向拡大率 |
行列の拡大、回転、移動を設定する。
s | [in] 拡大行列 |
r | [in] 回転行列 |
t | [in] 位置 |
void Effekseer::Matrix43::Translation | ( | float | x, |
float | y, | ||
float | z | ||
) |
移動行列化を行う。
x | [in] X方向移動 |
y | [in] Y方向移動 |
z | [in] Z方向移動 |
float Effekseer::Matrix43::Value[4][3] |
行列の値
Definition at line 1138 of file Effekseer.h.