Ignore:
Timestamp:
Dec 16, 2004, 5:29:40 PM (20 years ago)
Author:
darran
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Swollen/swollen/customtrackball.cpp

    r6 r66  
    66*/
    77
     8#include <iostream>
    89#include "customtrackball.h"
     10
    911
    1012void CustomTrackballManipulator::moveToHome()
    1113{
    12     computePosition(_homeEye, _homeCenter, _homeUp);
     14    computePosition( _homeEye, _homeCenter, _homeUp );
    1315}
     16
     17
     18bool 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.