Fix rendering of glyphs in the 3D demo

This commit is contained in:
Patrick Walton 2017-11-20 16:25:57 -08:00
parent 529a3eae23
commit 5a1e4d4e60
1 changed files with 4 additions and 0 deletions

View File

@ -903,6 +903,10 @@ class ThreeDAtlasRenderer extends TextRenderer {
private allAtlasGlyphs: AtlasGlyph[];
get backgroundColor(): glmatrix.vec4 {
return glmatrix.vec4.create();
}
constructor(renderContext: ThreeDView, atlasGlyphs: AtlasGlyph[]) {
super(renderContext);
this.allAtlasGlyphs = atlasGlyphs;