|
World of Rigid Bodies (WoRB)
|
The main entry point for both the stand-alone application. More...

Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| The main entry point for the stand-alone version. | |
Variables | |
| static WoRB_TestBed | Application |
| static WoRB::GLUT_Framework < WoRB_TestBed > | glut |
The main entry point for both the stand-alone application.
Definition in file Main.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
The main entry point for the stand-alone version.
Definition at line 28 of file Main.cpp.
References WoRB::GLUT_Framework< GlutApplication >::Connect(), WoRB_TestBed::Initialize(), WoRB::GLUT_Framework< GlutApplication >::Initialize(), WoRB_TestBed::Run(), WoRB_TestBed::SetupAnimation(), and WoRB::GLUT_Framework< GlutApplication >::Terminate().
{
if ( ! glut.Initialize( &argc, argv ) ) {
return 0;
}
Application.Initialize ();
Application.SetupAnimation ();
glut.Connect( Application );
Application.Run ();
glut.Terminate ();
return 0;
}
WoRB_TestBed Application [static] |
WoRB::GLUT_Framework<WoRB_TestBed> glut [static] |