Revision 2116,
716 bytes
checked in by mattausch, 17 years ago
(diff) |
implemented hashpvs
|
Line | |
---|
1 | #ifndef __PVSDEFINITIONS_H
|
---|
2 | #define __PVSDEFINITIONS_H
|
---|
3 |
|
---|
4 | #include "common.h"
|
---|
5 | #include <math.h>
|
---|
6 |
|
---|
7 | ////////////
|
---|
8 | //-- typedefs
|
---|
9 |
|
---|
10 | #ifdef USE_HASH_PVS
|
---|
11 |
|
---|
12 | #include "HashPvs.h"
|
---|
13 |
|
---|
14 | #define HASH_PVS 1
|
---|
15 |
|
---|
16 | namespace GtpVisibilityPreprocessor {
|
---|
17 | typedef HashPvs<Intersectable *, PvsData> DefaultPvs;
|
---|
18 | typedef HashPvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
|
---|
19 | }
|
---|
20 |
|
---|
21 | #else
|
---|
22 |
|
---|
23 | #include "Pvs.h"
|
---|
24 |
|
---|
25 | #define HASH_PVS 0
|
---|
26 |
|
---|
27 | namespace GtpVisibilityPreprocessor {
|
---|
28 | typedef VerbosePvs<Intersectable *, PvsData> DefaultPvs;
|
---|
29 | typedef PvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
|
---|
30 | }
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | namespace GtpVisibilityPreprocessor {
|
---|
34 |
|
---|
35 | typedef PvsEntry<Intersectable *, PvsData> ObjectPvsEntry;
|
---|
36 |
|
---|
37 | }
|
---|
38 |
|
---|
39 |
|
---|
40 | #endif
|
---|
41 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.