ExampleApplication:
#include "OgreExampleApplication.h"
ExampleApplication
and has an empty createScene()
function:class Example41 : public ExampleApplication { public: void createScene() { } };
int main (void) { Example41 app; app.go(); return 0; }
We created a new application which inherits from ExampleApplication
and does nothing. It has an empty createScene()
function because this is a pure virtual function in the base class and if we don't override it we can't instantiate our class. The more interesting part of the application will be added now.
18.191.150.231