Changeset 237 for trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.cpp
- Timestamp:
- 08/12/05 18:42:20 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.cpp
r235 r237 69 69 char constructionMethodStr[64]; 70 70 71 environment->GetStringValue("BspTree.constructionMethod", 72 constructionMethodStr); 71 environment->GetStringValue("BspTree.constructionMethod", constructionMethodStr); 73 72 74 73 int constructionMethod = BspTree::VIEWCELLS; 75 74 76 75 if (strcmp(constructionMethodStr, "viewCells") == 0) 77 76 constructionMethod = BspTree::VIEWCELLS; … … 84 83 } 85 84 86 Debug << constructionMethodStr << endl;87 88 85 switch (constructionMethod) 89 86 { 90 87 case BspTree::VIEWCELLS: 88 91 89 mViewcells.clear(); 90 92 91 // derive viewcells from the scene objects 93 92 ViewCell::DeriveViewCells(objects, mViewcells, 1000); 93 94 94 mBspTree->Construct(mViewcells); 95 95 break; … … 102 102 return true; 103 103 } 104 105 104 106 105
Note: See TracChangeset
for help on using the changeset viewer.