Added option for combining the GlyphQuad::backdropcoords into the GlyphQuad::coords.

This commit is contained in:
Robert Osfield
2017-02-27 11:53:42 +00:00
parent 0ec204f6e4
commit 80c96cd54f
2 changed files with 90 additions and 29 deletions

View File

@@ -23,7 +23,7 @@
namespace osgText {
// #define NEW_APPROACH
#define NEW_APPROACH
class OSGTEXT_EXPORT Text : public osgText::TextBase
{
@@ -310,8 +310,9 @@ public:
ColorCoords _colorCoords;
TexCoords _texcoords;
#ifndef NEW_APPROACH
Coords _transformedBackdropCoords[8];
#endif
Primitives _primitives;