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

Revision 59, 2.5 KB checked in by mattausch, 20 years ago (diff)

completely changed file structure plus software design

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