Changeset 5485 for nanovis/branches/1.2/nanovis.cpp
- Timestamp:
- May 9, 2015 2:03:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nanovis/branches/1.2/nanovis.cpp
r5406 r5485 873 873 } 874 874 875 BBox bbox; 876 getFlowBounds(bbox.min, bbox.max, onlyVisible); 877 sceneBounds.extend(bbox); 875 for (FlowHashmap::iterator itr = flowTable.begin(); 876 itr != flowTable.end(); ++itr) { 877 Flow *flow = itr->second; 878 879 BBox bbox; 880 flow->getBounds(bbox.min, bbox.max, onlyVisible); 881 sceneBounds.extend(bbox); 882 } 878 883 879 884 #if 0 … … 1043 1048 Flow::updatePending = false; 1044 1049 return true; 1045 }1046 1047 void1048 NanoVis::getFlowBounds(Vector3f& min,1049 Vector3f& max,1050 bool onlyVisible)1051 {1052 TRACE("Enter");1053 1054 min.set(FLT_MAX, FLT_MAX, FLT_MAX);1055 max.set(-FLT_MAX, -FLT_MAX, -FLT_MAX);1056 1057 for (FlowHashmap::iterator itr = flowTable.begin();1058 itr != flowTable.end(); ++itr) {1059 itr->second->getBounds(min, max, onlyVisible);1060 }1061 1050 } 1062 1051
Note: See TracChangeset
for help on using the changeset viewer.