Detect if out of bounds areas are visible in camera or not

Yeah, that’s pretty much it. The reason for this is that if the camera is pointed northish and as I move the camera north, I will get closer and closer to the map edge and that will mean that I have to pitch the camera less to see out of bounds. Hence to prevent the camera from seeing out of bounds, I need to limit its pitch the more north it goes.