matrix m = indent();
float scale = fit();float scale = chf(“scale”);
translate(m,move)
scale(m,scale) //scale(m,set(scale,1,1));
p *=m;
逆矩阵
matrix mat = 4@mat;
matrix imat = invert(mat);
@P *=imat;
matrix m = lookat(from,to,roll)
matrix m = instance(P,N,S)
rotate(m,angle,radians,axis)
rotate(m,angle,axis)
int trs = chi("trs");
intxyz = chi("xyz");
matrix m = maketransform(trs,xyz,move,rotate,scale)
eulerquatanion()
解构矩阵
4@mat = m;
int trs = chi("trs");
intxyz = chi("xyz");
vector t,r,s;
cracktransform(trs,xyz,set(0,0,0),4@m,t,r,s);
v@t= t;
v@r = r;
v@s= s;
vector v1 =
vector v2 =
matrix m = dihedral(v1,v2);
@P *=m;
网友评论