Refactored osgText::Font so that it now supports both 2D and 3D glyphs.
Added TextNode.h and TextNode.cpp to examples/osgtext3D in prep for introducing the new node to osgText library
This commit is contained in:
@@ -144,10 +144,10 @@ protected:
|
||||
// ** glyph and other information to render the glyph
|
||||
struct GlyphRenderInfo
|
||||
{
|
||||
GlyphRenderInfo(Font3D::Glyph3D * glyph, osg::Vec3 & pos) :
|
||||
GlyphRenderInfo(Glyph3D * glyph, osg::Vec3 & pos) :
|
||||
_glyph(glyph), _position(pos) {}
|
||||
|
||||
osg::ref_ptr<Font3D::Glyph3D> _glyph;
|
||||
osg::ref_ptr<Glyph3D> _glyph;
|
||||
osg::Vec3 _position;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user