Added initializer

This commit is contained in:
Robert Osfield 2016-06-23 17:08:04 +01:00
parent e9faa8890d
commit e06253cf21

View File

@ -24,7 +24,9 @@ using namespace osgUtil;
Tessellator::Tessellator() :
_wtype(TESS_WINDING_ODD),
_ttype(TESS_TYPE_POLYGONS),
_boundaryOnly(false), _numberVerts(0)
_boundaryOnly(false),
_numberVerts(0),
_extraPrimitives(0)
{
_tobj = gluNewTess();
if (_tobj)