您的位置:首页 > 其它

Max2008之前版本旋转视图的函数

2011-07-08 10:44 155 查看
Fn RotateViewPort inputAxis inputDegrees =
(
ViewPortMatrix = inverse(ViewPort.GetTM())
RotationMatrix = (quat inputDegrees inputAxis ) as Matrix3
ViewPortMatrix *= RotationMatrix
ViewPort.SetTM (inverse ViewPortMatrix)
)

RotateViewPort [0,0,1] -1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐