Getting position values from a matrix.
Because I am not very good at matrix math,
suppose I have a D3DXMatrixTranslation (&matrix, 10,10,100);
Now.. this matrix is built, but afterwards, what are the matrix elements that correspond to each x,y,z, so I can find them later?
This generally only works with translation matrices.
Look in (4,1),(4,2),(4,3) for the translation values. (I might have that transposed. I don''t think so, but they might be in (1,4),(2,4),(3,4) instead. )
I like pie.
Look in (4,1),(4,2),(4,3) for the translation values. (I might have that transposed. I don''t think so, but they might be in (1,4),(2,4),(3,4) instead. )
I like pie.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement