D3DXMAMATRIXIDENTITY function

xiaoxiao2021-03-06  58

D3DXMAMATRIXIDENTITY function

Create a unit matrix.

definition:

D3DXMAMATRIX * D3DXMATRIXIDENTITITY

D3DXMAMATRIX * Pout

);

parameter:

pout

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

return value:

Point the unit matrix of the D3DXMatrix structure.

Description:

The unit matrix is ​​in addition to [1,1] [2, 2] [3, 3] [4, 4] diagonal coefficients, all of the other coefficients are 0. When multiplied by any other vertex vector, it is convenient to modify the unit matrix as a rotation, translation, and zoom matrix.

The return value is the same as the POUT parameter returns, so that this function can be the parameters of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXMAMATRIXISIDENTITYTY

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

New Post(0)