void operator()( const osg::Vec3 v1, const osg::Vec3 v2, const osg::Vec3 v3, bool temp )
 {
     if ( v1==v2 || v1==v3 || v2==v3 )
         return;
     
     vertices->push_back( v1 ); indices->push_back( base++ );
     vertices->push_back( v2 ); indices->push_back( base++ );
     vertices->push_back( v3 ); indices->push_back( base++ );
 }
Beispiel #2
0
	// do nothing
	void operator ()(const osg::Vec3& v1, const osg::Vec3& v2, const osg::Vec3& v3, bool treatVertexDataAsTemporary) {
		_vertexes->push_back(v1);
		_vertexes->push_back(v2);
		_vertexes->push_back(v3);
	}