Added NEW_APPROACH code path that merges the separate GlyphGeometry arrays and primitives into a single set of arrays and primitives

This commit is contained in:
Robert Osfield
2017-03-02 11:12:55 +00:00
parent f233005988
commit 4721651dbe
3 changed files with 142 additions and 24 deletions

View File

@@ -22,6 +22,8 @@
namespace osgText {
#define NEW_APPROACH
class OSGTEXT_EXPORT TextBase : public osg::Drawable
{
public:
@@ -326,6 +328,7 @@ protected:
void setupDecoration();
Coords _coords;
Coords _normals;
ColorCoords _colorCoords;
TexCoords _texcoords;