Line | |
---|
1 | // This file has been written by Jiri Bittner, October 2006
|
---|
2 |
|
---|
3 | #ifndef __BVHLOADER_H
|
---|
4 | #define __BVHLOADER_H
|
---|
5 |
|
---|
6 | #include "Bvh.h"
|
---|
7 |
|
---|
8 | class igzstream;
|
---|
9 |
|
---|
10 |
|
---|
11 | namespace CHCDemoEngine
|
---|
12 | {
|
---|
13 |
|
---|
14 | /** Loader for a bounding volume hierarchy.
|
---|
15 | */
|
---|
16 | class BvhLoader
|
---|
17 | {
|
---|
18 | public:
|
---|
19 |
|
---|
20 | Bvh *Load(const std::string &filename, const SceneEntityContainer &entities);
|
---|
21 |
|
---|
22 | protected:
|
---|
23 |
|
---|
24 | BvhNode *LoadNextNode(igzstream &stream, BvhInterior *parent);
|
---|
25 | };
|
---|
26 |
|
---|
27 | }
|
---|
28 |
|
---|
29 | #endif // __BVHLOADER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.