|Microsoft DirectX 9.0|
Determines the product of the computed translation matrix determined by the given factors (x, y, and z) and the current matrix.
FLOAT x, FLOAT y, FLOAT z );
- [in] The translation factor in the x-direction.
- [in] The translation factor in the y-direction.
- [in] The translation factor in the z-direction.
If the method succeeds, the return value is D3D_OK.
This method left-multiplies the current matrix with the computed translation matrix (transformation is about the local origin of the object).D3DXMATRIX tmp; D3DXMatrixTranslation( &tmp, x, y, z ); m_stack[m_currentPos] = tmp * m_stack[m_currentPos];