Ignore:
Timestamp:
10/27/08 01:12:00 (16 years ago)
Author:
mattausch
Message:

still not working!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp

    r3072 r3073  
    532532        /////////////////// 
    533533        //-- for the first time we come here => create vbo and indices 
    534  
     534/* 
    535535        if (!mIndices) 
    536536        {        
     
    544544                PrepareVertices(); 
    545545        } 
    546  
     546*/ 
    547547        /////////////// 
    548548 
    549549        int numNodes = 0; 
    550  
     550/* 
    551551        BvhNodeContainer::const_iterator nit, nit_end = nodes.end(); 
    552552 
     
    563563                numNodes += node->mNumTestNodes; 
    564564        } 
    565  
     565*/ 
    566566        return numNodes; 
    567567} 
     
    678678        BvhNodeContainer nodes; 
    679679 
    680         nodes.reserve(GetNumStaticNodes()); 
     680        nodes.reserve(GetNumNodes()); 
    681681        CollectNodes(mRoot, nodes); 
    682682 
Note: See TracChangeset for help on using the changeset viewer.