GLODMesh::GLODMesh( osg::Geometry* p_geom ) : _lodObjectName( 0 ), _lodGroupName( 0 ), _lodPatchName( 0 ), _adaptLOD( true ), _p_geometry( p_geom ) { // setup GLOD if( !s_glodNumObjects ) { if ( !glodInit() ) { log_error << "GLODMesh: could not initialize GLOD" << std::endl; return; } } ++s_glodNumObjects; }
LLMeshReduction::LLMeshReduction() { mCounter = 1; glodInit(); }