3d的 一些公式

1、 3d围绕 z轴旋转 x,y 变换公式:

 

  

       

   // α β
   x = r cosα
   y = r sinα
   x' = r cos (α+β)
   y' = r sin (α+β)
   x' = r (cosα cosβ - sinαsinβ)
   y' = r (sinαcosβ + cosαsinβ)
   x' = xcosβ - ysinβ
   y' = xsinβ + ycosβ

   z = z'

 

posted @ 2018-07-06 11:11  MvloveYouForever  阅读(1367)  评论(0编辑  收藏  举报