Originally created by: adam.i.w...@gmail.com
Great work on this project! Got things rendering great on Windows 8.1
What steps will reproduce the problem?
1. Rotating a sprite using SpriteBatch::Draw does not work correctly. If you set the origin to (0.0f,0.0f), it works fine, but for other values it is not behaving as expected. I figured out that setting it to 0.5f,0.5f will rotate around the center of the sprite.
What is the expected output? What do you see instead?
The origin should be set to (sprite.Width * 0.5, sprite.Height * 0.5)
for a spin around the sprite's center.
What version of the product are you using? On what operating system?
VS2015 pre-release, Windows 8.1, latest version on Nxna.
Please provide any additional information below.
I'd be happy to help with this one if you could point to me to any code files of interest!
Thanks,
Adam
Sorry, I know it's taken way too long for me to respond.
I just checked and I wasn't able to reproduce this. It's possible it was fixed in the year since this bug was reported, but I don't see any relevant changes to the code. If it's still a problem can you post some code that shows how you're calling SpriteBatch::Draw()?