D3DXQUATERNIONROTATIONYAWPITCHROLL function

xiaoxiao2021-03-06  69

D3DXQUATERNIONROTATIONYAWPITCHROLL function

Create a four-dimensional number of rotation with a Y-axis angle, a x-axis angle and a z-axis angle.

definition:

D3DXQUATERNION * WINAPI D3DXQUATERNONROTATIONYAWPITCHROLL (

D3DXQUATERNION * Pout,

Float YAW,

Float Pitch,

Float roll

);

Parameters

pout

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

YAW

[IN] Whenesses the Y-axis rotation angle (unit radians).

Pitch

[IN] around the X-axis rotation angle (unit radians).

Roll

[IN] Whenesses the Z-axis rotation angle (unit radians).

return value:

Point the four-component number of the rotation of the D3DxQuaternion structure.

Description:

The function return value is the same as the POUT parameter. This allows the function D3DXQUATERNIONROTATIONYAWPITCHROLL as a parameter of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXQUATERNIONROS, D3DXQUATERNIONROTATIONMAMATRIX

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

New Post(0)