Changeset 3073 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
- Timestamp:
- 10/27/08 01:12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r3072 r3073 532 532 /////////////////// 533 533 //-- for the first time we come here => create vbo and indices 534 534 /* 535 535 if (!mIndices) 536 536 { … … 544 544 PrepareVertices(); 545 545 } 546 546 */ 547 547 /////////////// 548 548 549 549 int numNodes = 0; 550 550 /* 551 551 BvhNodeContainer::const_iterator nit, nit_end = nodes.end(); 552 552 … … 563 563 numNodes += node->mNumTestNodes; 564 564 } 565 565 */ 566 566 return numNodes; 567 567 } … … 678 678 BvhNodeContainer nodes; 679 679 680 nodes.reserve(GetNum StaticNodes());680 nodes.reserve(GetNumNodes()); 681 681 CollectNodes(mRoot, nodes); 682 682
Note: See TracChangeset
for help on using the changeset viewer.