Bug #23
FOV is a static global variable
Start date:
08/12/2016
Due date:
% Done:
100%
Estimated time:
Description
mFOV in Distorted class is a static global variable, which mean that is we set it from one app, exit it and go to another, if the 2nd app does not set mFOV again the old value will linger on.
Steps to reproduce:
1. Fire out the Example Apps.
2. Go to the 'Field Of View' app
3. change FOV to something extreme (0, i.e. orthagonal projection)
4. exit app and go to some other app (Cubes)
5. Observe the effect.
History
Updated by Distorted Admin almost 8 years ago
- Status changed from New to Closed
- Assignee set to Leszek Koltunski
- % Done changed from 0 to 100
The new 'DistortedFramebuffer' class solves this problem.