I’ve just started graphics programming in Ogre, and just can’t understand why there is a separate viewing frustum class and a separate camera class.
In the real world, every camera has its own viewing frustum. Shouldn’t the properties of the viewing frustum be present in the camera class?
Is there any advantage in having them separate? I just don’t see the point.
It’s called separation of concerns. Basically a class should do one thing and one thing only.