The math library provided by the D3DX utility library supplies functions to compute 3D mathematical operations. Each of the functions can take the same object as the passed [in] and returned [out] parameters. Also, out parameters are typically returned as return values, so that the output of one math function can be used as a parameter for another math function.
Many of the functions are implemented in d3dx9math.inl.
The 3D math application functions can be organized into the following groups.