I want to multiply the vector and the matrix.
The vector is of XMVECTOR
type and the matrix is of XMMATRIX
type.
I cannot find any function in DirectX SDK to do it.
There is XMMatrixMultiply
but only for two matrixs, the same for vectors - no (vector, matrix)
function.
Asked
Active
Viewed 1.7k times
15

PolGraphic
- 3,233
- 11
- 51
- 108
-
Cant you define a vector as a 1xN or Nx1 matrix? – huseyin tugrul buyukisik Aug 14 '12 at 14:36
1 Answers
23
The function you're looking for is XMVector3Transform (or XMVector4Transform, it depends on what you want).

avakar
- 32,009
- 9
- 68
- 103