Added src/osg/NodeCallback.cpp.

This commit is contained in:
Robert Osfield 2001-11-12 10:00:08 +00:00
parent 5ceefdcc12
commit 8f6b7d04a4

11
src/osg/NodeCallback.cpp Normal file
View File

@ -0,0 +1,11 @@
#include <osg/Node>
#include <osg/NodeCallback>
#include <osg/NodeVisitor>
using namespace osg;
void NodeCallback::traverse(Node* node,NodeVisitor* nv)
{
if (_nestedCallback.valid()) (*_nestedCallback)(node,nv);
else nv->traverse(*node);
}