D3DXQUATERNONTOAXISANGLE function

xiaoxiao2021-03-06  91

D3DXQUATERNONTOAXISANGLE function

Calculate a quad number with a vector and a rotation angle around this vector.

definition:

Void WinApi D3DXQuaternionToAxisangle

Const D3DXQUATERNION * PQ,

D3DXVECTOR3 * PAXIS,

Float * Pangle

);

parameter:

PQ

[in] points to the quad number of D3Dxquaternion structure.

Paxis

[IN, OUT] points to the four-dimensional rotation axis of the D3DxVector3 structure.

pangle

[IN, OUT] points to the rotation angle of the FLOAT type (radians).

return value:

There is no return value.

Description:

This function creates a unit of four yuan.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

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

New Post(0)