D3DXMatrixRotationQuaternion 函数
来源:互联网 发布:如何连接主人网络 编辑:程序博客网 时间:2024/05/14 05:14
D3DXMatrixRotationQuaternion 函数
从一个四元组创建一个旋转矩阵。
定义:
D3DXMATRIX *WINAPI D3DXMatrixRotationQuaternion(
D3DXMATRIX *pOut,
CONST D3DXQUATERNION *pQ
);
参数:
pOut
[in, out] 指向D3DXMATRIX 结构的操作结果矩阵。
pQ
[in] 指向 D3DXQUATERNION 结构的四元组。
返回值:
指向从四元组创建的D3DXMATRIX的旋转矩阵。
说明:
函数返回值跟pOut 参数返回值是一样的。这样可以让函数D3DXMatrixRotationQuaternion作为其它函数的参数使用。
要想知道由向量( x, y, z )和角度怎么样计算四元组,可以看结构D3DXQUATERNION相关内容。
函数信息:
Header | d3dx9math.h |
Import library | d3dx9.lib |
Minimum operating systems | Windows 98 |
相关函数:
D3DXMatrixRotationAxis, D3DXMatrixRotationX, D3DXMatrixRotationY, D3DXMatrixRotationYawPitchRoll, D3DXMatrixRotationZ
- D3DXMatrixRotationQuaternion 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 18个经典培训故事(1)
- D3DXMatrixRotationAxis 函数
- 18个经典培训故事(2)
- 18个经典培训故事(3)
- 18个经典培训故事(4)
- D3DXMatrixRotationQuaternion 函数
- 在java访问数据库时, 如何写空值到各种类型的字段中呢?
- 一言难尽袁四爷
- D3DXMatrixRotationX 函数
- php.MVC系列教程之前言
- 看病
- D3DXMatrixRotationY 函数
- D3DXMatrixRotationYawPitchRoll 函数
- 无题