mgMatrix4 クラスは、4×4行列を表すヘルパークラスです。
一部APIの引数や戻り値に使用されます。
mgMatrix4(m00=1, m01=0, m02=0, m03=0, m10=0, m11=1, m12=0, m13=0, m20=0, m21=0, m22=1, m23=0, m30=0, m31=0, m32=0, m33=1) コンストラクタ
swap(mgMatrix4)
mgMatrix4 = operator * mgMatrix4
mgMatrix4 = operator * float
mgVector3 = operator * mgVector3
mgVector4 = operator * mgVector4
mgMatrix4 = operator + mgMatrix4
mgMatrix4 = operator - mgMatrix4
bool = operator == mgMatrix4mgMatrix4 = concatenate(mgMatrix4)
mgMatrix4 = transpose()
setTrans(mgVector3)
mgVector3 = getTrans()
makeTrans(mgVector3)
makeTrans( float tx, float ty, float tz )
mgMatrix4 = getTrans( mgVector3 )
mgMatrix4 = getTrans( float t_x, float t_y, float t_z )
setScale( mg Vector3 )
mgMatrix4 = getScale( mgVector3 )
mgMatrix4 = getScale( float s_x, float s_y, float s_z )
extract3x3Matrix(mgMatrix3)
bool = hasScale()
bool = hasNegativeScale()
mgQuaternion = extractQuaternion()
mgMatrix4 = adjoint()
float = determinant()
mgMatrix4 = inverse()makeTransform(mgVector3 position, mgVector3 scale, mgQuaternion orientation)
makeInverseTransform(mgVector3 position, mgVector3 scale, mgQuaternion orientation)
decomposition(mgVector3 position, mgVector3 scale, mgQuaternion orientation)
bool = isAffine()
mgMatrix4 = inverseAffine()
mgMatrix4 = concatenateAffine(mgMatrix4)
mgVector3 = transformAffine(mgVector3)
mgVector4 = transformAffine(mgVector4)