Forum: Computer Science Aug 4th, 2009 |
| Replies: 5 Views: 470 I am too tired right now to try that formula out. But you could consider:
if(A.angle < 180)
if(B.angle > A.angle && B.angle < A.angle + 180)
//turn counter-clockwise
else
//turn clockwise... |