Rev | Line | |
---|
[2755] | 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 |
|
---|
| 9 | namespace CHCDemo
|
---|
| 10 | {
|
---|
| 11 |
|
---|
| 12 | /** Loader for a bounding volume hierarchy.
|
---|
| 13 | */
|
---|
| 14 | class BvhLoader
|
---|
| 15 | {
|
---|
| 16 | public:
|
---|
| 17 |
|
---|
[2760] | 18 | Bvh *Load(const std::string &filename, const SceneEntityContainer &entities);
|
---|
[2755] | 19 |
|
---|
| 20 | protected:
|
---|
| 21 |
|
---|
| 22 | BvhNode *LoadNextNode(std::ifstream &stream, BvhInterior *parent);
|
---|
| 23 | };
|
---|
| 24 |
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | #endif // __BVHLOADER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.