|
|
在Dx9中,函数D3DXMatrixTransformation用下面的公式,得出最后的结果:
Mout = (Msc)-1 * (Msr)-1 * Ms * Msr * Msc * (Mrc)-1 * Mr * Mrc * Mt
where:
Mout = output matrix (pOut)
Msc = scaling center matrix (pScalingCenter)
Msr = scaling rotation matrix (pScalingRotation)
Ms = scaling matrix (pScaling)
Mrc = center of rotation matrix (pRotationCenter)
Mr = rotation matrix (pRotation)
Mt = translation matrix (pTranslation)
请大侠们,给解释一下。小弟看的糊涂.
(Msc)-1,(Msr)-1,(Mrc)-1是相应的的Inverse Matrix吗? [em24] |
|