Changeset 66 for Swollen/swollen/customtrackball.cpp
- Timestamp:
- Dec 16, 2004, 5:29:40 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/customtrackball.cpp
r6 r66 6 6 */ 7 7 8 #include <iostream> 8 9 #include "customtrackball.h" 10 9 11 10 12 void CustomTrackballManipulator::moveToHome() 11 13 { 12 computePosition( _homeEye, _homeCenter, _homeUp);14 computePosition( _homeEye, _homeCenter, _homeUp ); 13 15 } 16 17 18 bool CustomTrackballManipulator::handle( const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us ) 19 { 20 if( _disabled ) 21 return false; 22 else 23 { 24 // std::cout << "customtrackballmanipulator active" << std::endl; 25 return osgGA::TrackballManipulator::handle( ea, us ); 26 } 27 } 28
Note: See TracChangeset
for help on using the changeset viewer.