I want to transform a vertex (such as a vecotr) by a matrix, but i can not find the api like a vector multiply matrix in direct9 msdn 。so my question is that:should i code it by myself,or is there any other method can achieve it?
Asked
Active
Viewed 79 times
1 Answers
0
Use the D3DX utility library: d3dx msdn reference
specifically: D3DXVec3Transform msdn reference
D3DX library has been deprecated for Win8: D3DXMath you can use the XMVector3Transform method from the D3DXMath library.