minus scale ?
Monkey Targets Forums/XNA/minus scale ?
| ||
On every other platform when you do scale(-1,1) it draws an image mirrored right-to-left I just wondered if it does the same thing on this platform? |
| ||
It was hard for me to find this, so for all searching this stuff via forum search: To mirror an image at the vertical axis: Use Scale(-scale,scale) To mirror an image at the horizontal axis: Use Scale(scale,-scale) Both: Use Scale(-scale,-scale) Do this before you call DrawImage(). And yes, it works on XNA. |