Ignore:
Timestamp:
07/04/05 17:57:51 (19 years ago)
Author:
mattausch
Message:

added item buffer queries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp

    r139 r154  
    5555} 
    5656//----------------------------------------------------------------------- 
    57 void OctreeHierarchyInterface::SetNumOctreeNodes(unsigned int num) 
    58 { 
    59         mNumOctreeNodes = num; 
    60 } 
    61 //----------------------------------------------------------------------- 
    6257float OctreeHierarchyInterface::GetSquaredDistance(GtpVisibility::HierarchyNode *node) const 
    6358{ 
     
    173168                SceneNodeHierarchyInterface::GetGeometry(*nodeIt, geometryList, includeChildren); 
    174169        } 
     170} 
     171//----------------------------------------------------------------------- 
     172void OctreeHierarchyInterface::SetNodeId(GtpVisibility::HierarchyNode *node, int id) 
     173{ 
     174        static_cast<Octree *>(node)->setId(id); 
     175} 
     176//----------------------------------------------------------------------- 
     177int OctreeHierarchyInterface::GetNodeId(GtpVisibility::HierarchyNode *node) 
     178{ 
     179        return static_cast<Octree *>(node)->getId(); 
    175180} 
    176181//----------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.