Пример #1
0
 void handle_IndexedFaceSet(XmlElement& elem)
 {
     cout << "Found IndexedFaceSet" << endl;
     vector<int> coord_index;
     parse(elem.atts["coordIndex"].c_str(), coord_index);
     coord_index_to_face_vec(coord_index, faces, indices);
     elem.process_elements();
     cout << "IndexedFaceSet ends" << endl;
 }
Пример #2
0
 void handle_Shape(XmlElement& elem)
 {
     cout << "Found Shape" << endl;
     elem.process_elements();
     cout << "Shape ends" << endl;				
 }