Limiting Camera Rotation

Here is a way to do it :

​​​​​​​​