[osg-users] how to clear Vec3Array

Bruno Oliveira bruno.manata.oliveira at gmail.com
Thu Jul 14 09:35:34 PDT 2016


I am doing the following experiment:

osg::ref_ptr<osg::Vec3Array> array(new osg::Vec3Array);

This does not deallocate the memory.

How do I effectively deallocate the memory from the std::vector
encapsulated in the osg::Vec3Array?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160714/df5f91e0/attachment-0002.htm>

More information about the osg-users mailing list