Tag Info

New answers tagged


So there is a DirectX library called the DirectX Tool Kit which is a porting of the underlying XNA code written by people who were members of the XNA team. Below is the code relevant to you question. SpriteBatch.cpp PrepareForRendering() // Set the transform matrix. XMMATRIX transformMatrix = (mRotation == DXGI_MODE_ROTATION_UNSPECIFIED) ...

Top 50 recent answers are included