Microsoft DirectX 8.1 (C++) |
Builds a matrix that scales along the x-, y-, and z-axes.
D3DXMATRIX* D3DXMatrixScaling( D3DXMATRIX* pOut, FLOAT sx, FLOAT sy, FLOAT sz );
Pointer to a D3DXMATRIX structure that is the scaled matrix.
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixScaling function can be used as a parameter for another function.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.