Changeset 10625

Show
Ignore:
Timestamp:
10/10/09 11:35:16 (5 years ago)
Author:
robert
Message:

From Cedric Pinson, "Here an update of osganimationtimeline example, the callback did not
follow the callback api, i updated to fix this, then the callback are
called correctly."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osganimationtimeline/osganimationtimeline.cpp

    r10487 r10625  
    3535struct NoseBegin : public osgAnimation::Action::Callback 
    3636{ 
    37     virtual void operator()(osgAnimation::Action* action) 
     37    virtual void operator()(osgAnimation::Action* action, osgAnimation::ActionVisitor* nv) 
    3838    { 
    3939        std::cout << "sacrebleu, it scratches my nose, let me scratch it" << std::endl; 
     
    4444struct NoseEnd : public osgAnimation::Action::Callback 
    4545{ 
    46     virtual void operator()(osgAnimation::Action* action) 
     46    virtual void operator()(osgAnimation::Action* action, osgAnimation::ActionVisitor* nv) 
    4747    { 
    4848        std::cout << "shhhrt shrrrrt shhhhhhrrrrt, haaa it's better"<< std::endl;