GLUT applications must call glutMainLoop which never returns, therefore stdlib's exit function must be called to end an application. This prevents stack objects from being destructed, which makes the creation on memory management policies based on destructors a lot harder. It is recommended that key objects in the application (the scene, the viewer, the lights) are declared "static" to ensure activation of their destructors upon application exit.
[out] The address of an empty list of pointers to mesh objects to be filled with the addresses of newly allocated mesh objects.
Returns
True is returned if filename could be read. False otherwise. Note that if a empty file is read, true is returned, but the resultPtr list will be returned empty.