Jim Helman (jimh++at++surreal)
Mon, 26 Jun 95 11:39:24 -0700
So use pfGetTrav<Blah> functions on "trav"; it's not an
exposed struct. Also, the call to pfNodeTravFuncs should
have generated a compiler warning since PreNodeCull is not
of the correct type.
-jim
> ....
> root = (pfGroup *)LoadFile(DatabaseFiles[i], NULL);
> pfAddChild(ViewState->sceneGroup, root);
> pfNodeTravFuncs(root,PFTRAV_CULL,PreNodeCull,NULL);
>
> ....
>
> long
> PreNodeCull(pfuTraverser *trav, void *data)
> {
>
> Here, I first want to check the type of node being traversed.
> If it is of type geode, I want to do further calculations here
>
> return PFTRAV_CONT;
> }
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:37 PDT