source:
experimental/Threading/Threading/main.cpp
@
425
Last change on this file since 425 was 425, checked in by , 12 years ago | |
---|---|
File size: 326 bytes |
Rev | Line | |
---|---|---|
[420] | 1 | // Threading Test |
2 | ||
3 | // OSG includes | |
4 | #include <osg/Notify> | |
5 | #include <osg/ref_ptr> | |
6 | ||
7 | #include "SimHost.h" | |
8 | ||
9 | int main( int argc, char **argv ) | |
10 | { | |
11 | // Create osgVisual::SimHost | |
12 | osg::ref_ptr<SimHost> simulationHost = new SimHost(); | |
13 | ||
14 | //Start it | |
15 | simulationHost->initialize(); | |
16 | simulationHost->run(); | |
17 | ||
18 | return 0; | |
19 | } |
Note: See TracBrowser
for help on using the repository browser.