D3DXQUATERNIONEXP function

xiaoxiao2021-03-06  83

D3DXQUATERNIONEXP function

Calculate the four-dimensional index.

definition:

D3DXQUATERNION * WINAPI D3DXQUATERNONEXP (

D3DXQUATERNION * Pout,

Const d3dxquaternion * pq

);

parameter:

pout

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

PQ

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

return value:

Point the quad number of the D3DxQuaternion structure.

Description:

This function is to convert a pure four-element to a quad number of a unit. D3DXQUATERNIONEXP ignores the W component (w == 0) when calculating the pure quad number.

If the quad number is as follows:

Q = (0, Theta * V);

This function calculation index result is:

Exp (Q) = (COS (Theta), SIN (Theta) * V)

Where V is a quaternary vector.

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

The D3DXQuaterNionSquadsetup function can also set up the four-dimensional control point.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXQUATERNIONLN, D3DXQUATERNIONSQUAD

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

New Post(0)