Hi,

I have a Vec3Array I use for temporary storage of vertices inside a
function, which I declared with:

osg::Vec3Array* points = new osg::Vec3Array();

and then added vertices with push_back( ).

I'd like to delete the vector and its members before exiting the
function. I subclassed ValueVisitor to delete the vertices, but don't
know how to delete the Vec3Array itself. Am I doing something wrong?

Regards,
Can.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to