Changeset 3271 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
- Timestamp:
- 01/12/09 19:03:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r3270 r3271 652 652 CollectNodes(mStaticRoot, nodes); 653 653 //CollectNodes(mRoot, nodes); 654 // also add root 655 nodes.push_back(mRoot); 654 656 655 657 cout << "creating new indices" << endl; … … 799 801 800 802 CollectNodes(mDynamicRoot, nodes); 803 // also add root 804 nodes.push_back(mRoot); 801 805 802 806 const unsigned int bufferSize = 8 * (int)nodes.size(); … … 813 817 814 818 for (int j = 0; j < 8; ++ j) 819 { 815 820 (static_cast<Vector3 *>(mVertices))[node->GetId() * 8 + j] = node->GetBox().GetVertex(j); 821 } 816 822 } 817 823
Note: See TracChangeset
for help on using the changeset viewer.