Changeset 1287 for GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
- Timestamp:
- 08/27/06 23:39:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
r1233 r1287 1181 1181 } 1182 1182 1183 // hack: all object exported as one mesh 1183 /////////////////////////////////// 1184 // method 2 (hacky) 1185 // all object exported as one mesh 1184 1186 PolygonContainer polys; 1185 1187 1186 1188 for (oit = objects.begin(); oit != oit_end; ++ oit) 1187 1189 { 1188 polys.push_back(new Polygon3(dynamic_cast<MeshInstance *>(*oit)->GetMesh()->mVertices)); 1190 MeshInstance *mi = dynamic_cast<MeshInstance *>(*oit); 1191 polys.push_back(new Polygon3(mi->GetMesh()->mVertices)); 1189 1192 } 1190 1193
Note: See TracChangeset
for help on using the changeset viewer.