Closed ghost closed 9 years ago
The update function I was using had a RenderWindow parameter to recalculate the ration on window change.
In order to avoid global variable access, the ratio for every camera is updated when the window size changes.
The update function I was using had a RenderWindow parameter to recalculate the ration on window change.