Timeline for Turning a sprite such that it rotates in the direction that's most efficient
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2016 at 10:27 | comment | added | Gazihan Alankus | I think you should replace the ifs with whiles. what if one of them is 100040 degrees and the other is 10? | |
Jul 16, 2011 at 9:58 | comment | added | Andrew Russell |
The function MathHelper.WrapAngle is useful for this.
|
|
Jul 16, 2011 at 7:20 | history | answered | Niall | CC BY-SA 3.0 |