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

Revision 345, 2.3 KB checked in by mattausch, 19 years ago (diff)

fixed bug in chc when traversing node two times because of priority queue. left debug info in there

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