Ignore:
Timestamp:
02/15/06 01:00:38 (19 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
3 edited

Legend:

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

    r564 r644  
    171171} 
    172172 
     173 
    173174int Ray::ClassifyPlane(const Plane3 &plane,  
    174175                                           const float minT,  
     
    185186        if (entSide < 0) 
    186187        { 
    187                 if (extSide >= 0) 
     188                if (extSide > 0) 
    188189                { 
    189190                        return BACK_FRONT; 
     
    193194        else if (entSide > 0) 
    194195        { 
    195                 if (extSide <= 0) 
     196                if (extSide < 0) 
    196197                        return FRONT_BACK; 
    197198                         
     
    201202        { 
    202203                if (extSide > 0) 
    203                         return BACK_FRONT; 
     204                        return FRONT; 
    204205                else if (extSide < 0) 
    205                         return FRONT_BACK; 
     206                        return BACK; 
    206207        } 
    207208         
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r613 r644  
    690690        } 
    691691 
    692  
     692        //-- empty merge queue just in case 
    693693        while (!mMergeQueue.empty()) 
    694694        { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp

    r611 r644  
    14951495        const int frontAndBackId = ViewCell::sMailId; 
    14961496 
    1497         bool useRand;; 
     1497        bool useRand; 
    14981498        int limit; 
    14991499 
     
    17961796        } 
    17971797} 
     1798 
    17981799 
    17991800float BspTree::SplitPlaneCost(const Plane3 &candidatePlane, 
Note: See TracChangeset for help on using the changeset viewer.