how can i get he absolute value of an int?
like say my int is "fade"
fade = ((VectorX(playerlook)+VectorY(playerlook))/2);
assuming that playerlook is the direction that a player is looking, wouldnt the fade value be a negative some times? like -90 or somthing?
or are ints always positive?
like say my int is "fade"
fade = ((VectorX(playerlook)+VectorY(playerlook))/2);
assuming that playerlook is the direction that a player is looking, wouldnt the fade value be a negative some times? like -90 or somthing?
or are ints always positive?
I'm just an old man with a skooma problem.