Hacker News new | ask | show | jobs
by andars 3490 days ago
Since you only work with 90 degrees, you don't even need the full machinery. In my solution I used (a,b) -> (-b,a) and its dual.