USING MULTIPLE WINDOWS
• Create multiple windows by doing the same sequence of steps for each window.
• You need to keep track of the window ID to be able to go back to a particular
window.
glutSetWindow(windowID);
is used to make a particular window active.
• You can destroy a window when you are done with it.
glutDestroyWindow( windowID);
• The current window ID can be obtained using
glutGetWindow();
0 comments:
Post a Comment