Scaled back the primitives sets set up so they match the requirements of the osgText::Text accordinging to the BackdropType

This commit is contained in:
Robert Osfield
2017-02-24 18:25:16 +00:00
parent a84a6bd309
commit 8adbf322a0
2 changed files with 37 additions and 25 deletions

View File

@@ -23,6 +23,8 @@
namespace osgText {
// #define NEW_APPROACH
class OSGTEXT_EXPORT Text : public osgText::TextBase
{
public:
@@ -313,7 +315,6 @@ public:
Primitives _primitives;
void updatePrimitives();
GlyphQuads();
GlyphQuads(const GlyphQuads& gq);
@@ -321,6 +322,8 @@ public:
void initGlyphQuads();
void initGPUBufferObjects();
void setupPrimitives(Text::BackdropType backdropType);
Glyphs& getGlyphs() { return _glyphs; }
const Glyphs& getGlyphs() const { return _glyphs; }