Changeset 71 for trunk/VUT/GtpVisibility/src/PreprocessingManager.cpp
- Timestamp:
- 04/29/05 18:32:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/src/PreprocessingManager.cpp
r65 r71 3 3 namespace GtpVisibility { 4 4 5 6 bool 7 PreprocessingManager::GetPVS( 8 const Vector3 ¢er, 9 const float radius, 10 InfoContainer<NodeInfo> *visibleNodes, 11 InfoContainer<MeshInfo> *visibleMeshes ) 12 { 5 PreprocessingManager::PreprocessingManager(HierarchyInterface *hierarchyInterface) 6 { 7 } 8 9 PreprocessingManager::~PreprocessingManager() 10 { 11 } 12 13 bool PreprocessingManager::GetPVS(const Vector3 ¢er, 14 const float radius, 15 InfoContainer<NodeInfo> *visibleNodes, 16 InfoContainer<MeshInfo> *visibleMeshes) 17 { 13 18 vector<int> viewCellIds; 14 if (LocateViewCellIds(center, radius, &viewCellIds)) { 15 for (vector<int>::iterator ci = viewCellIds.begin(); 16 ci != viewCellIds.end(); 17 ci++) { 18 AddViewCellPVS(*ci, 19 visibleNodes, 20 visibleMeshes ); 21 // remove duplicates of the PVS entries if any? 22 } 23 return true; 19 if (LocateViewCellIds(center, radius, &viewCellIds)) 20 { 21 for (vector<int>::iterator ci = viewCellIds.begin(); ci != viewCellIds.end(); ci++) 22 { 23 AddViewCellPVS(*ci, visibleNodes, visibleMeshes ); 24 // remove duplicates of the PVS entries if any? 25 } 26 return true; 24 27 } 25 28 return false;
Note: See TracChangeset
for help on using the changeset viewer.