2011-03-15 144 views

回答

0

没关系,我想通了。

例如对于x轴:

double xRot = -(myQuat.ToEuler().x) 
Quat qDiff = Quat(sin(xRot/2.0), 0, 0, cos(xRot/2.0)).Normalize() 
Quat myQuatZeroX = myQuat * qDiff