I have been working in Optix for my ray tracing project, i went through its classes and function , I know that all the display function and call backs are handled in glutmainloop() and it will never end, my question is I cannot find any function or .c file where glutmainloop() is defined? is it hidden?
Can anyone help me?
glutMainLoop
is a function from the GL Utility Toolkit (GLUT). On Windows the library gets linked in and thus no source code is provided. Precisely it is provided from the open source freeglut:Take a look at github's mirror for its code
More information here: opengl glutmainloop()