Changeset 1344 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Timestamp:
- 09/12/06 17:39:08 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBvHierarchy.h
r1320 r1344 282 282 virtual void _updateBounds(bool recurse = true) = 0; 283 283 284 /** bounding box of the node**/ 284 /** bounding box of the node 285 */ 285 286 AxisAlignedBox mAABB; 286 287 287 /** mounding box of all objects inside the node */ 288 /** bounding box of all objects inside the node 289 */ 288 290 AxisAlignedBox mWorldAABB; 291 292 289 293 protected: 290 294 BvHierarchy * mOwner; … … 387 391 { 388 392 public: 389 Leaf(BvHierarchy * owner, int level, AxisAlignedBox& aabb, Branch * 393 Leaf(BvHierarchy * owner, int level, AxisAlignedBox& aabb, Branch *parent): 390 394 Node(owner, level, aabb, parent) 391 395 {}; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreBvHierarchy.cpp
r1320 r1344 874 874 875 875 /************************************************************************/ 876 /* BvHierarchy build functions*/876 /* BvHierarchy build functions */ 877 877 /************************************************************************/ 878 878 … … 1142 1142 } 1143 1143 1144 BvHierarchy::Node * BvHierarchy::pqBuild(BvhPlaneEventList& events, int nObjects, AxisAlignedBox& aabb, BvHierarchy::Branch * parent) 1144 BvHierarchy::Node * BvHierarchy::pqBuild(BvhPlaneEventList& events, 1145 int nObjects, AxisAlignedBox& aabb, 1146 BvHierarchy::Branch * parent) 1145 1147 { 1146 1148 SplitCandidatePQ pqueue; … … 1396 1398 } 1397 1399 1400 1401 1398 1402 /************************************************************************/ 1399 /* BvHierarchy rendering functions*/1403 /* BvHierarchy rendering functions */ 1400 1404 /************************************************************************/ 1405 1401 1406 1402 1407 //------------------------------------------------------------------------- … … 1560 1565 } 1561 1566 1567 1562 1568 void BvHierarchy::recFindNodesIn(const Sphere &sphere, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full) 1563 1569 { … … 1565 1571 } 1566 1572 1573 1567 1574 void BvHierarchy::recFindNodesIn(const PlaneBoundedVolume &volume, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full) 1568 1575 { … … 1570 1577 } 1571 1578 1579 1572 1580 void BvHierarchy::recFindNodesIn(const Ray &ray, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full) 1573 1581 { … … 1575 1583 } 1576 1584 1585 1577 1586 /************************************************************************/ 1578 /* BvHierarchy debug & helper functions*/1587 /* BvHierarchy debug & helper functions */ 1579 1588 /************************************************************************/ 1580 1589 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTree.cpp
r1320 r1344 1391 1391 } 1392 1392 1393 1394 1393 1395 /************************************************************************/ 1394 /* KdTree rendering functions*/1396 /* KdTree rendering functions */ 1395 1397 /************************************************************************/ 1396 1398
Note: See TracChangeset
for help on using the changeset viewer.