Hi Igor,

On Tue, Aug 17, 2010 at 12:35 AM, Igor Lebedev <[email protected]> wrote:
> In getPrimitiveSet() function there is "pos" argument. How should i use it?

osg::Geometry contains a std::vector<> of PrimtiveSet, the pos
argument is just an index into this vector.
Geometry::getNumPrimitiveSets() returns the number of primitive sets
in the vector.

This type of question is pretty basic and answered directly by looking
at the include/osg/Geometry header - there is a whole collection of
PrimitiveSet related methods, one should be able to work out what the
methods do as they are all one line methods.

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

Reply via email to