目次

Matrix4

4×4行列を扱うクラス

voidMatrix4(void)
voidMatrix4(double*16)
Matrix4clone(void)
boolequals(Matrix4)
thisinit(void)
thisinvert(void)
thismul(Matrix4)
thissetRotateX(double)
thissetRotateX(double)
thissetRotateX(double)
thissetScale(Vector3)
thissetTrans(Vector3)
QuaterniontoQuaternion(void)

Property

double _11;
double _12;
double _13;
double _14;
double _21;
double _22;
double _23;
double _24;
double _31;
double _32;
double _33;
double _34;
double _41;
double _42;
double _43;
double _44;

Function


Matrix4(void)

Matrix4(double*16)

//example
var m0 = Matrix4();
var m1 = Matrix4(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);

clone(void)

return Matrix4


equals(Matrix4)

return bool


init(void)

return this


invert(void)

return this


mul(Matrix4)

return this


setRotateX(double)

return this


setRotateY(double)

return this


setRotateZ(double)

return this


toQuaternion(void)

return Quaternion