D3DXMAMATRIXROTIONQUATERNION function

xiaoxiao2021-03-06  79

D3DXMAMATRIXROTIONQUATERNION function

Create a rotation matrix from a four-way group.

definition:

D3DXMAMATRIX * WINAPI D3DXMATRIXROTIONQUATERNION (

D3DXMAMATRIX * POUT,

Const d3dxquaternion * pq

);

parameter:

pout

[IN, OUT] points to the operation result matrix of the D3DXMatrix structure.

PQ

[in] points to the four groups of D3Dxquaternion structure.

return value:

Point to the rotation matrix of D3DXMatrix created from the four-tuple group.

Description:

The function return value is the same as the POUT parameter. This allows the function D3DXMatrixRotationQuaterNion to use parameters of other functions.

Want to know how to calculate the quallogram from the vector (x, y, z) and angle, you can see the structure D3DXQUATERNION related content.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXMAMATRIXROTATIONXIS, D3DXMATRIXROTIONX, D3DXMATRIXROTIONY, D3DXMATRIXROTIONY, D3DXMATRIXROTIONYAWPITCHROLL, D3DXMATRIXROTIONZ

转载请注明原文地址:https://www.9cbs.com/read-108049.html

New Post(0)