Tagged Questions
4
votes
2answers
1k views
How do I align the matrix used in SpriteBatch and the matrix used in BasicEffect?
I'm writing a Windows tool that uses XNA and allows the user to place textures on the screen.
I'm using a 'camera' for the SpriteBatch used to draw the textures, e.g:
Matrix matrixForSpriteBatch = ...