View Single Post
  #4  
Old 04-30-2007, 11:22 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by DustyPorViva View Post
Thanks, that worked great.
Though I ended up doing:
dist=abs(dir2-dir1)>8?16-abs(dir2-dir1):abs(dir2-dir1);
Hehe.
I just have an OCD think about repeating the same math formula over and over again :P
__________________
Do it with a DON!
Reply With Quote