D3DXVEC3TRANSFORMNORMAL function

xiaoxiao2021-03-06  110

D3DXVEC3TRANSFORMNORMAL function

Use matrix transform 3-D vector standard form.

definition:

D3DXVECTOR3 * WINAPI D3DXVEC3TRANSFORMNORMAL (D3DXVector3 * Pout,

Const D3DxVector3 * PV,

Const D3DXMatrix * PM

);

Parameters

pout

[IN, OUT] points to the results of the D3DXVECTOR3 results.

PV

[in] Pointing vector of D3DXVector3 structure.

pm

[in] points to the matrix of the D3DXMatrix structure.

return value:

Refers to the conversion of the D3DXVector3 structure.

Description:

This function is converted with a matrix PM transform vector PV standard form (x, y, z, 0), not a homogeneous coordinate form.

If a non-affine matrix transform, then this matrix should be reverse after the operation is transferred to this function.

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

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

New Post(0)