Clean up camera code and add a cap to pitch rotation to avoid looking beyond the up/down direction
Clean up camera code and add a cap to pitch rotation to avoid looking beyond the up/down direction

woutervh-/csgjson,woutervh-/csgjson