Ejemplo n.º 1
0
 void DataBlockBinder::Bind(ISceneNode& node, ReloadPolicy policy){
     node.Accept(*this);
 }
 /**
  * Custom visit sub node method.
  * We overwrite the sub node selector to select the parenting node
  * instead. This results in a left-to-root traversal of the tree.
  *
  * @param node Currently visited node.
  */
 void TransformationNode::DefaultVisitNode(ISceneNode* node) {
     ISceneNode* p = node->GetParent();
     if (p != NULL)
         p->Accept(*this);
 }