Thread
:
More of a math question...
View Single Post
#
4
04-30-2007, 11:22 PM
zokemon
That one guy...
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
Quote:
Originally Posted by
DustyPorViva
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!
zokemon
View Public Profile
View GraalOnline Profile
Find all posts by zokemon