Hello Sajjadul,

Sajjadul Islam wrote:
> Hello Carsten,
> 
> Thanks for the hint. I manage to correct that error.
> But i am not sure if the design concept is efficient enough.
> 
> So i am attaching the snippet and hope that you can suggest
> something better.

one can always optimize things (well, almost always), the real question 
is if it is worth it here.
Anyways, you repeat the search for utahTransformNode in findChild and 
subChild, you could reuse the index returned by findChild and pass that 
to subChild.
To reduce code repetition you could write functions that add/remove a 
node from a node, if present.


        Hope it helps,
                Carsten

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to