Original Post
I want to do a function like this: Matrix TranslateRotateScale(Vector pos, float X, float Y, float Z, float S); The function would 1. translate object to pos 2. rotate around X-axis by X radians 3. rotate around Y-axis by Y radians 4. rotate around Z-axis by Z radians 5. scale the object by factor S 6. return the Matrix containing all these steps How to do this correctly with D3DXMatrix... functions ?