Revision 2280,
720 bytes
checked in by mattausch, 18 years ago
(diff) |
removed dependency on ogre in gtpvisibility
|
Rev | Line | |
---|
[65] | 1 | #include "PreprocessingManager.h" |
---|
| 2 | |
---|
| 3 | namespace GtpVisibility { |
---|
| 4 | |
---|
[71] | 5 | PreprocessingManager::PreprocessingManager(HierarchyInterface *hierarchyInterface) |
---|
| 6 | { |
---|
| 7 | } |
---|
| 8 | |
---|
| 9 | PreprocessingManager::~PreprocessingManager() |
---|
| 10 | { |
---|
| 11 | } |
---|
| 12 | |
---|
[2280] | 13 | /*bool PreprocessingManager::GetPVS(const Vector3 ¢er, |
---|
[71] | 14 | const float radius, |
---|
[316] | 15 | NodeInfoContainer *visibleNodes, |
---|
| 16 | MeshInfoContainer *visibleMeshes) |
---|
[71] | 17 | { |
---|
[65] | 18 | vector<int> viewCellIds; |
---|
[71] | 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; |
---|
[65] | 27 | } |
---|
| 28 | return false; |
---|
[2280] | 29 | } |
---|
| 30 | */ |
---|
[65] | 31 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.