[59] | 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 | //-----------------------------------------------------------------------
|
---|
[158] | 14 | void BspHierarchyInterface::TraverseNode(GtpVisibility::HierarchyNode *node)
|
---|
[59] | 15 | {
|
---|
| 16 | }
|
---|
| 17 | //-----------------------------------------------------------------------
|
---|
[74] | 18 | bool BspHierarchyInterface::IsLeaf(GtpVisibility::HierarchyNode *node) const
|
---|
[59] | 19 | {
|
---|
| 20 | return true;
|
---|
| 21 | }
|
---|
| 22 | //-----------------------------------------------------------------------
|
---|
[74] | 23 | bool BspHierarchyInterface::HasGeometry(GtpVisibility::HierarchyNode *node) const
|
---|
[59] | 24 | {
|
---|
| 25 | return true;
|
---|
| 26 | }
|
---|
| 27 | //-----------------------------------------------------------------------
|
---|
[87] | 28 | float BspHierarchyInterface::GetSquaredDistance(GtpVisibility::HierarchyNode *node) const
|
---|
[59] | 29 | {
|
---|
| 30 | return 0.0f;
|
---|
| 31 | }
|
---|
| 32 | //-----------------------------------------------------------------------
|
---|
[74] | 33 | void BspHierarchyInterface::SetNodeVisible(GtpVisibility::HierarchyNode *node,
|
---|
[345] | 34 | const bool visible) const
|
---|
[59] | 35 | {
|
---|
| 36 | }
|
---|
| 37 | //-----------------------------------------------------------------------
|
---|
[74] | 38 | void BspHierarchyInterface::SetLastVisited(GtpVisibility::HierarchyNode *node,
|
---|
[345] | 39 | const unsigned int frameId) const
|
---|
[59] | 40 | {
|
---|
| 41 | }
|
---|
| 42 | //-----------------------------------------------------------------------
|
---|
[345] | 43 | void BspHierarchyInterface::PullUpVisibility(GtpVisibility::HierarchyNode *node) const
|
---|
[59] | 44 | {
|
---|
| 45 | }
|
---|
| 46 | //-----------------------------------------------------------------------
|
---|
| 47 | void BspHierarchyInterface::RenderNode(GtpVisibility::HierarchyNode *node)
|
---|
| 48 | {
|
---|
| 49 | }
|
---|
| 50 | //-----------------------------------------------------------------------
|
---|
[74] | 51 | bool BspHierarchyInterface::IsNodeVisible(GtpVisibility::HierarchyNode *node) const
|
---|
[59] | 52 | {
|
---|
| 53 | return true;
|
---|
| 54 | }
|
---|
| 55 | //-----------------------------------------------------------------------
|
---|
[74] | 56 | unsigned int BspHierarchyInterface::LastVisited(GtpVisibility::HierarchyNode *node) const
|
---|
[59] | 57 | {
|
---|
| 58 | return 0;
|
---|
| 59 | }
|
---|
| 60 | //-----------------------------------------------------------------------
|
---|
| 61 | AxisAlignedBox *BspHierarchyInterface::GetBoundingBox(GtpVisibility::HierarchyNode *node)
|
---|
| 62 | {
|
---|
| 63 | return NULL;
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | } // namespace Ogre
|
---|