|Microsoft DirectX 9.0|
Determines the product of the current matrix and the computed scale matrix composed from the given point (x, y, and z).
FLOAT x, FLOAT y, FLOAT z );
- [in] The scaling component in the x-direction.
- [in] The scaling component in the y-direction.
- [in] The scaling component in the z-direction.
If the method succeeds, the return value is D3D_OK.
This method right-multiplies the current matrix with the computed scale matrix (transformation is about the current world origin).D3DXMATRIX tmp; D3DXMatrixScaling( &tmp, x, y, z ); m_stack[m_currentPos] = m_stack[m_currentPos] * tmp;