Thanks Stephan. Alessandro
On Thu, May 5, 2011 at 12:39 PM, Stephan Maximilian Huber < [email protected]> wrote: > Am 05.05.11 11:52, schrieb Alessandro Terenzi: > > 1) in GraphicsWindowIOS, beyond the window and view, also a view > > controller is defined and it is allocated in GraphicsWindowIOS.mm just > after > > the view...is this view controller really needed? How is it used? > > The ViewController is used to adapt the view to a new > device-orientation. It should be easy to add a new code-path to disable > the creation of the ViewController, if needed. > > > 2) in the view_test example, at the end of FlipsideViewController,mm > file, > > what is the role of USE_GRAPICSWINDOW_IMPLEMENTATION(IOS) ? I tried by > > removing it and it looks like that my app still works... > > As the osg-libs are static you'll have to tell the linker to include the > GraphicsWindowIOS-class in the final app, this is the purpose of > USE_GRAPICSWINDOW_IMPLEMENTATION(IOS). In the other examples this line > is in the file Plugins.h > > cheers, > > Stephan > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

