Changeset 101 for trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp
- Timestamp:
- 05/16/05 21:44:35 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp
r94 r101 63 63 { 64 64 AxisAlignedBox *box = &static_cast<Octree *>(node)->mBox; 65 Vector3 mid = ((box->getM inimum() - box->getMaximum()) * 0.5) + box->getMinimum();65 Vector3 mid = ((box->getMaximum() - box->getMinimum()) * 0.5) + box->getMinimum(); 66 66 67 67 return (mCullCamera->getDerivedPosition() - mid).squaredLength();
Note: See TracChangeset
for help on using the changeset viewer.