D3DXMatrixRotationZ 函数
创建绕着Z轴旋转矩阵。
定义:
Parameters
pOut
[in, out]指向D3DXMATRIX 结构的操作结果矩阵。
Angle
[in]绕着Z轴旋转的角度(单位是弧度)。角度计算方法是当从Z正轴朝着Z轴的原点看去时,顺时针方向为正值。
返回值:
指向D3DXMATRIX 结构的绕着Z轴旋转矩阵。
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
说明:
函数返回值跟pOut 参数返回值是一样的。这样可以让函数D3DXMatrixRotationZ作为其它函数的参数使用。
函数信息:
Header
|
d3dx9math.h |
Import library
|
d3dx9.lib |
Minimum operating systems
|
Windows98 |
相关函数:
D3DXMatrixRotationAxis, D3DXMatrixRotationQuaternion, D3DXMatrixRotationX, D3DXMatrixRotationY, D3DXMatrixRotationYawPitchRoll