Hacker News new | ask | show | jobs
by niels_olson 5880 days ago
and the direction of the total step is about 60 degrees off, leaving sqrt(3)/2 step in the right direction.
1 comments

If your direction is 60 degrees off then the right-direction component is 1/2, not sqrt(3)/2. (You move sqrt(3)/2 in the perpendicular direction.)
this is what happens trying to remember trig after 30 hours on call.