function scr_round_to_angle(arg0, arg1 = 90, arg2 = 0) { arg0 = scr_round_to_multiple(arg0 - arg2, arg1); return scr_loop(arg0 + arg2, 360); }