View Single Post
  #4  
Old 04-29-2007, 06:12 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
No need for the absolute value in reversedir, modulus will make sure it doesn't go under 0. Same for reversedeg.

Also, why do dir%4?
I usually just do (dir+2)%4
:O didn't think of that
Thanks, will edit my post
__________________
Reply With Quote