Restructed and unified the position computation
This commit is contained in:
@@ -109,8 +109,8 @@ class OSGTEXT_EXPORT Text3D : public osgText::TextBase
|
||||
* for all graphics contexts. */
|
||||
virtual void releaseGLObjects(osg::State* state=0) const;
|
||||
|
||||
// // make Font a friend to allow it set the _font to 0 if the font is
|
||||
// // forcefully unloaded.
|
||||
// make Font a friend to allow it set the _font to 0 if the font is
|
||||
// forcefully unloaded.
|
||||
friend class Font;
|
||||
|
||||
virtual osg::BoundingBox computeBoundingBox() const;
|
||||
@@ -126,7 +126,6 @@ class OSGTEXT_EXPORT Text3D : public osgText::TextBase
|
||||
String::iterator computeLastCharacterOnLine(osg::Vec2& cursor, String::iterator first,String::iterator last);
|
||||
|
||||
void computeGlyphRepresentation();
|
||||
void computePositions(unsigned int contextID) const;
|
||||
|
||||
// ** glyph and other information to render the glyph
|
||||
struct GlyphRenderInfo
|
||||
|
||||
Reference in New Issue
Block a user