Please contact us if you have any trouble resetting your password.
double radiant = atan2(( (des_y - y) / (des_x - x) ));int direction = (radiant * 180 / PI);//this gives 180 - -180// so i just make 360 from thoes values// just bad that the ''north''(0) is right