VMaxComp
int VMaxComp(R3VECTOR *v);
v - vector
0, 1 or 2
Finds maximum component of given vector. Returns 0 (=x), 1 (=y), or 2 (=z)