source: trunk/VUT/Ogre/src/OgreBspHierarchyInterface.cpp @ 87

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