Timeline for How can I simplify this code to compute the shortest rotation between two angles?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2015 at 13:15 | vote | accept | t123 | ||
Jun 28, 2014 at 10:51 | history | tweeted | twitter.com/#!/StackGameDev/status/482838754760355840 | ||
Jun 26, 2014 at 6:51 | answer | added | sam hocevar | timeline score: 4 | |
Jun 25, 2014 at 21:04 | answer | added | Herman Tulleken | timeline score: 0 | |
Jun 25, 2014 at 18:51 | history | edited | user1430 | CC BY-SA 3.0 |
edited title; edited tags
|
Jun 25, 2014 at 18:35 | comment | added | Chaosed0 |
std::min(std::max(from, to) - std::min(from,to), std::min(from,to) + 2*pi - std::max(from,to)); ?
|
|
Jun 25, 2014 at 18:28 | history | edited | t123 |
edited tags
|
|
Jun 25, 2014 at 18:05 | history | asked | t123 | CC BY-SA 3.0 |