Hi Mathias, Robert,

All the above cases could be changed as you have done.

And from the code it is not clear to me that the vector is empty in any case.
At least the mergeFaces case looks unclear.
In 2 cases vector is empty after creation by Face constructor and in 3 case (mergeFaces) vector is cleared before entering the scope where insert from deque is performed.

May be you can take a look if that different code is really guaranteed to do
the same?

Yes, It looks correct to me. There will be no functional difference.

Cheers

Wojtek

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to