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