Timeline for Sorting array of points in clockwise order
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 31, 2015 at 22:57 | comment | added | onedayitwillmake | @Anko I think you are right, but at the same time I think it will be easiest for people to find it in this way. It also helps make sure I don't take away from samhocevar's answer which mine is simply based on. | |
Oct 6, 2015 at 12:13 | comment | added | Anko | @onedayitwillmake Could you move the code you ended up using into an answer? It doesn't really belong in the question, but it's very valuable to future readers. | |
S Oct 6, 2015 at 12:07 | history | suggested | EvilTak | CC BY-SA 3.0 |
second conditional inside comparing code was wrong! Fixed, and added simple comment for counter-clockwise
|
Oct 6, 2015 at 10:24 | review | Suggested edits | |||
S Oct 6, 2015 at 12:07 | |||||
Sep 12, 2014 at 19:09 | comment | added | onedayitwillmake | It can be expressed many ways, but I tend to avoid nested ternary operators especially when giving examples. | |
Sep 2, 2014 at 14:41 | comment | added | ademar111190 | return can be return angle1 < angle2 ? 1 : angle2 > angle1 ? -1 : 0; | |
Jun 6, 2011 at 0:42 | vote | accept | onedayitwillmake | ||
Jun 6, 2011 at 0:42 | history | edited | onedayitwillmake | CC BY-SA 3.0 |
added 935 characters in body; added 13 characters in body
|
Jun 6, 2011 at 0:33 | answer | added | Trevor Powell | timeline score: 5 | |
Jun 6, 2011 at 0:13 | history | tweeted | twitter.com/#!/StackGameDev/status/77528546016374784 | ||
Jun 5, 2011 at 23:35 | history | edited | onedayitwillmake | CC BY-SA 3.0 |
added 112 characters in body
|
Jun 5, 2011 at 23:25 | answer | added | sam hocevar | timeline score: 20 | |
Jun 5, 2011 at 23:08 | answer | added | zacharmarz | timeline score: 2 | |
Jun 5, 2011 at 22:52 | history | asked | onedayitwillmake | CC BY-SA 3.0 |