
Door: Thijs Zumbrink
23-11-2016 15:47
While refactoring TaZCrash I took another look at GLUT window creation. Originally set up in one-window only mode, I had some trouble in converting this to clean OOP code. In particular, the library only accepts static callbacks with no way to identify the object you are using it for. After some trial and error I found a clean solution.