Ignore:
Timestamp:
01/22/07 23:35:03 (17 years ago)
Author:
mattausch
Message:

changed to static cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp

    r1960 r2017  
    202202                if (!node->IsLeaf())  
    203203                { 
    204                         BspInterior *interior = dynamic_cast<BspInterior *>(node); 
     204                        BspInterior *interior = static_cast<BspInterior *>(node); 
    205205                                                                 
    206206                        BspNodeGeometry *front = new BspNodeGeometry(); 
     
    220220                        if (maxPvs) 
    221221                        { 
    222                                 BspLeaf *leaf = dynamic_cast<BspLeaf *>(node); 
     222                                BspLeaf *leaf = static_cast<BspLeaf *>(node); 
    223223 
    224224                                mForcedMaterial.mDiffuseColor.b = 1.0f; 
     
    816816                if (node->IsLeaf())  
    817817                { 
    818                         ViewCell *vc = dynamic_cast<BspLeaf *>(node)->GetViewCell(); 
     818                        ViewCell *vc = static_cast<BspLeaf *>(node)->GetViewCell(); 
    819819#if 0      
    820820                        // set the mesh material according to the ray density 
     
    990990                else 
    991991                { 
    992                         BspInterior *interior = dynamic_cast<BspInterior *>(tData.mNode); 
     992                        BspInterior *interior = static_cast<BspInterior *>(tData.mNode); 
    993993 
    994994                        // add current side of split plane 
     
    11071107                if (!node->IsLeaf()) 
    11081108                { 
    1109                         BspInterior *interior = dynamic_cast<BspInterior *>(node); 
     1109                        BspInterior *interior = static_cast<BspInterior *>(node); 
    11101110 
    11111111                        // bounded plane is added to the polygons 
Note: See TracChangeset for help on using the changeset viewer.