cl: tidy viewangle stuff in input.c