04-05-2015, 10:38 AM
(04-05-2015, 09:57 AM)EdK Wrote: That information helps Chuck.
Looking at the code:
The rotation function gets passed a negative number via ToMove.
The rotation function:
has a "for" loop who's counter is compared to that negative number. I don't think the counter will ever be less than that negative number so the loop won't ever run. I think Arvid needs to verify that since it makes my brain hurt.
Ed
Never mind what I posted above. I see the error of my ways. This code snippet does indeed give you a positive number which is passed to the rotation function.
Code:
if(Degrees < 0)
{
ToMove = (Degrees*Multiplier)*-1;
I'll keep digging when I have a chance.
Ed