Re: Java3D problem

2000-08-04 Thread Joi Ellis
yangyuexiang wrote: > > > Hi, Everyone > > This is an interesting problem. > > I add a list of nodes into a group. > > eg. suppose lst has n elements and then > > for(Iterator iter = lst.iterator; iter.hasNext(); ) > { > group.addChild((Node)(iter.next())); > } > > Then the two elements

Java3D problem

2000-08-03 Thread yangyuexiang
> Hi, Everyone This is an interesting problem. I add a list of nodes into a group. eg. suppose lst has n elements and then for(Iterator iter = lst.iterator; iter.hasNext(); ) { group.addChild((Node)(iter.next())); } Then the two elements: o1 and o2 are different: o1 = group.getChild(n-1