0

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?

  • [D3DXVec3Transform](http://msdn.microsoft.com/en-us/library/windows/desktop/bb205520(v=vs.85).aspx) – Pang Mar 10 '13 at 04:00

1 Answers1

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.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Sil
  • 817
  • 8
  • 18