Hi

std::vector<osg::ref_ptr<osg::Geometry> >

31.01.2012, 02:18, "Juan Herrera" <[email protected]>:
> Hi,
>
> I need to create an array of geometries. I'm not sure whether to use:
>
> Code:
>
> osg::Geometry** tube;
> ref_ptr < ref_ptr < Geometry > > tube;
> ref_ptr < Geometry > * tube;
>
> I want then to allocate the "tube" Geometry array as something like:
>
> Code:
>
> tube = new Geometry[pointList->size() - 1];
>
> Thank you!
>
> Cheers,
> Juan
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45136#45136
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to