D3DXMatrixmultiply function

xiaoxiao2021-03-06  71

D3DXMatrixmultiply function

Two matrices are multiplied.

definition:

D3DXMAMATRIX * WINAPI D3DXMATRIXMULTIPLY

D3DXMAMATRIX * POUT,

Const d3dxmatrix * PM1,

Const D3DXMatrix * PM2

);

parameter:

pout

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

PM1

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

PM2

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

return value:

Points to multiplied by two matrices of the D3DXMatrix structure.

Description:

This function mainly allows two matrices to multiply, and the expression is the matrix 1 transformation, then the matrix 2 transform is then Such as formula (OUT = M1 * M2), in fact, in C , it can be used to operate there in the formula without this function.

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXQUATERNIONMULTIPLY

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

New Post(0)