public boolean epsilonEquals(Vector3 obj,float epsilon){
  if (obj == null)   return false;
  if (Math.abs(obj.x - x) > epsilon)   return false;
  if (Math.abs(obj.y - y) > epsilon)   return false;
  if (Math.abs(obj.z - z) > epsilon)   return false;
  return true;
}

public boolean epsilonEquals ( Vector3 obj , float epsilon ) { if ( obj == null ) return false ; if ( Math . abs ( obj . x - x ) > epsilon ) return false ; if ( Math . abs ( obj . y - y ) > epsilon ) return false ; if ( Math . abs ( obj . z - z ) > epsilon ) return false ; return true ; }
compares this vector with the other vector , using the supplied epsilon for fuzzy equality testing .
