Changeset 2017 for GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
- Timestamp:
- 01/22/07 23:35:03 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
r1960 r2017 202 202 if (!node->IsLeaf()) 203 203 { 204 BspInterior *interior = dynamic_cast<BspInterior *>(node);204 BspInterior *interior = static_cast<BspInterior *>(node); 205 205 206 206 BspNodeGeometry *front = new BspNodeGeometry(); … … 220 220 if (maxPvs) 221 221 { 222 BspLeaf *leaf = dynamic_cast<BspLeaf *>(node);222 BspLeaf *leaf = static_cast<BspLeaf *>(node); 223 223 224 224 mForcedMaterial.mDiffuseColor.b = 1.0f; … … 816 816 if (node->IsLeaf()) 817 817 { 818 ViewCell *vc = dynamic_cast<BspLeaf *>(node)->GetViewCell();818 ViewCell *vc = static_cast<BspLeaf *>(node)->GetViewCell(); 819 819 #if 0 820 820 // set the mesh material according to the ray density … … 990 990 else 991 991 { 992 BspInterior *interior = dynamic_cast<BspInterior *>(tData.mNode);992 BspInterior *interior = static_cast<BspInterior *>(tData.mNode); 993 993 994 994 // add current side of split plane … … 1107 1107 if (!node->IsLeaf()) 1108 1108 { 1109 BspInterior *interior = dynamic_cast<BspInterior *>(node);1109 BspInterior *interior = static_cast<BspInterior *>(node); 1110 1110 1111 1111 // bounded plane is added to the polygons
Note: See TracChangeset
for help on using the changeset viewer.