source:
experimental/Threading/Threading/main.cpp
@
420
Last change on this file since 420 was 420, checked in by , 12 years ago | |
---|---|
File size: 413 bytes |
Line | |
---|---|
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 | |
12 | // Create osgVisual::SimHost |
13 | OSG_ALWAYS<<"Creating SimHost..."<<std::endl; |
14 | osg::ref_ptr<SimHost> simulationHost = new SimHost(); |
15 | OSG_ALWAYS<<"...done."<<std::endl; |
16 | |
17 | //Start it |
18 | simulationHost->initialize(); |
19 | simulationHost->run(); |
20 | |
21 | return 0; |
22 | } |
Note: See TracBrowser
for help on using the repository browser.