Changeset 154 for trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp
- Timestamp:
- 07/04/05 17:57:51 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp
r139 r154 55 55 } 56 56 //----------------------------------------------------------------------- 57 void OctreeHierarchyInterface::SetNumOctreeNodes(unsigned int num)58 {59 mNumOctreeNodes = num;60 }61 //-----------------------------------------------------------------------62 57 float OctreeHierarchyInterface::GetSquaredDistance(GtpVisibility::HierarchyNode *node) const 63 58 { … … 173 168 SceneNodeHierarchyInterface::GetGeometry(*nodeIt, geometryList, includeChildren); 174 169 } 170 } 171 //----------------------------------------------------------------------- 172 void OctreeHierarchyInterface::SetNodeId(GtpVisibility::HierarchyNode *node, int id) 173 { 174 static_cast<Octree *>(node)->setId(id); 175 } 176 //----------------------------------------------------------------------- 177 int OctreeHierarchyInterface::GetNodeId(GtpVisibility::HierarchyNode *node) 178 { 179 return static_cast<Octree *>(node)->getId(); 175 180 } 176 181 //-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.