Hello community,

   I was attempting to test the latest release of OSG 3.5.8 and am now getting
some compiler errors.

error: ‘const struct osgText::Text::GlyphQuads’ has no member named ‘getCoords’
             
coords.insert(coords.end(),gq.getCoords()->begin(),gq.getCoords()->end());

Snippet of the code in question:

Code:


std::vector<osg::Vec2>                          coords;

osgText::Text::TextureGlyphQuadMap& tgqm = 
const_cast<osgText::Text::TextureGlyphQuadMap&>(_text->getTextureGlyphQuadMap());

const osgText::Text::GlyphQuads& gq = tgqmi->second;

coords.insert(coords.end(),gq.getCoords()->begin(),gq.getCoords()->end());





We are using this code to control onscreen text command line input.
What would be the proper way to fix this code under the newer versions of OSG to
accomplish the same, if it is still possible in some way?

Any hints would be appreciated.

Thank you all as always...

Cheers,
Curtis[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72393#72393





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to