"Mathieu Rgn" writes: > I use a osg::Vec3Array* object. > Concretely, in my application, I call : > osg::Vec3Array* vertex = > dynamic_cast<osg::Vec3Array*>(geom->getVertexArray()); > to get the array of vertices (I want to draw triangles implied by an > intresection with a ray). > > If I want to get the 3 coordinates (float) of the vertex number X, how do I > manipulate the Vec3Array ?
(*vertex)[X] . See osggeometry example. -- Alberto _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

