Changeset 372 for experimental/distortionNG/main.cpp
- Timestamp:
- Jun 1, 2012, 9:57:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r371 r372 37 37 38 38 #include "DistortionManipulator.h" 39 #include "DistortionSetupStrategyProjectSyntropy.h" 39 40 40 41 int main(int argc, char** argv) … … 92 93 93 94 // Add the distortion manipulator 94 viewer.addEventHandler(new osgViewer::DistortionManipulator(_distortionSet)); 95 osgViewer::DistortionManipulator* distortionManip = new osgViewer::DistortionManipulator(_distortionSet); 96 distortionManip->setDistortionSetupStrategy( new DistortionSetupStrategyProjectSyntropy() ); 97 viewer.addEventHandler(distortionManip); 95 98 96 99 // add the state manipulator
Note: See TracChangeset
for help on using the changeset viewer.