1 | #include "OgreBspHierarchyInterface.h"
|
---|
2 | #include "OgreVisibilityOctreeSceneManager.h"
|
---|
3 |
|
---|
4 | //#include <windows.h>
|
---|
5 |
|
---|
6 | namespace Ogre {
|
---|
7 |
|
---|
8 | //-----------------------------------------------------------------------
|
---|
9 | BspHierarchyInterface::BspHierarchyInterface(SceneManager *sm, RenderSystem *rsys):
|
---|
10 | PlatformHierarchyInterface(sm, rsys)
|
---|
11 | {
|
---|
12 | }
|
---|
13 | //-----------------------------------------------------------------------
|
---|
14 | void BspHierarchyInterface::TraverseNode(GtpVisibility::HierarchyNode *node)
|
---|
15 | {
|
---|
16 | }
|
---|
17 | //-----------------------------------------------------------------------
|
---|
18 | bool BspHierarchyInterface::IsLeaf(GtpVisibility::HierarchyNode *node) const
|
---|
19 | {
|
---|
20 | return true;
|
---|
21 | }
|
---|
22 | //-----------------------------------------------------------------------
|
---|
23 | bool BspHierarchyInterface::HasGeometry(GtpVisibility::HierarchyNode *node) const
|
---|
24 | {
|
---|
25 | return true;
|
---|
26 | }
|
---|
27 | //-----------------------------------------------------------------------
|
---|
28 | float BspHierarchyInterface::GetSquaredDistance(GtpVisibility::HierarchyNode *node) const
|
---|
29 | {
|
---|
30 | return 0.0f;
|
---|
31 | }
|
---|
32 | //-----------------------------------------------------------------------
|
---|
33 | void BspHierarchyInterface::SetNodeVisible(GtpVisibility::HierarchyNode *node,
|
---|
34 | const bool visible)
|
---|
35 | {
|
---|
36 | }
|
---|
37 | //-----------------------------------------------------------------------
|
---|
38 | void BspHierarchyInterface::SetLastVisited(GtpVisibility::HierarchyNode *node,
|
---|
39 | const unsigned int frameId)
|
---|
40 | {
|
---|
41 | }
|
---|
42 | //-----------------------------------------------------------------------
|
---|
43 | void BspHierarchyInterface::PullUpVisibility(GtpVisibility::HierarchyNode *node)
|
---|
44 | {
|
---|
45 | }
|
---|
46 | //-----------------------------------------------------------------------
|
---|
47 | void BspHierarchyInterface::RenderNode(GtpVisibility::HierarchyNode *node)
|
---|
48 | {
|
---|
49 | }
|
---|
50 | //-----------------------------------------------------------------------
|
---|
51 | bool BspHierarchyInterface::IsNodeVisible(GtpVisibility::HierarchyNode *node) const
|
---|
52 | {
|
---|
53 | return true;
|
---|
54 | }
|
---|
55 | //-----------------------------------------------------------------------
|
---|
56 | unsigned int BspHierarchyInterface::LastVisited(GtpVisibility::HierarchyNode *node) const
|
---|
57 | {
|
---|
58 | return 0;
|
---|
59 | }
|
---|
60 | //-----------------------------------------------------------------------
|
---|
61 | AxisAlignedBox *BspHierarchyInterface::GetBoundingBox(GtpVisibility::HierarchyNode *node)
|
---|
62 | {
|
---|
63 | return NULL;
|
---|
64 | }
|
---|
65 |
|
---|
66 | } // namespace Ogre
|
---|