Changeset 660 for GTP/trunk/Lib/Vis/Preprocessing/src/X3dParser.cpp
- Timestamp:
- 02/21/06 17:42:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/X3dParser.cpp
r658 r660 99 99 Mesh *mesh = new Mesh(); 100 100 101 VertexIndexContainer vc; 102 101 103 // add vertices 102 104 for (int i = 0; i < (int)(*it).size(); ++ i) 103 105 { 104 106 mesh->mVertices.push_back(mCurrentVertices[(*it)[i]]); 105 107 vc.push_back(i); 106 108 } 107 109 108 mesh->mFaces.push_back(new Face( 0,1,2));110 mesh->mFaces.push_back(new Face(vc)); 109 111 mesh->Preprocess(); 110 112 // make an instance of this mesh
Note: See TracChangeset
for help on using the changeset viewer.