D3DXMatrixRotationX,D3DXMatrixRotationY,D3DXMatrixRotationZ

电子书《精通DirectX.3D图形与动画程序设计.王德才.pdf》p89
构造绕x、y和z轴转动一定角度的矩阵

D3DXMATRIX* D3DXMatrixRotationX(
  _Inout_  D3DXMATRIX *pOut,
  _In_     FLOAT Angle
);
Angle 为绕x轴要旋转的弧度值

D3DXMATRIX* D3DXMatrixRotationY(
  _Inout_  D3DXMATRIX *pOut,
  _In_     FLOAT Angle
);
Angle 为绕y轴要旋转的弧度值

D3DXMATRIX* D3DXMatrixRotationZ(
  _Inout_  D3DXMATRIX *pOut,
  _In_     FLOAT Angle
);
Angle 为绕z轴要旋转的弧度值

你可能感兴趣的:(d3d)