View Full Version : Display function question
04-07-2009, 09:21 AM
Can I make the display function independent of the other graphics code?
I mean can I pass any number of arguments in display function?
(change signature of function)
04-07-2009, 03:23 PM
It depends on what toolkit you're using. If you're using GLUT, then you cannot change the signature of the display function, as GLUT won't pass any arguments to it.
04-07-2009, 10:54 PM
I am using JOGL to write my code. SO can I change signatures of display function?
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.