View Single Post
  #6  
Old 05-01-2007, 12:05 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by zokemon View Post
Hehe.
I just have an OCD think about repeating the same math formula over and over again :P


Then do something like....


PHP Code:
temp.var = abs(dir2 dir1);
dist = (temp.var > 16 temp.var : temp.var); 
Reply With Quote