Changeset 576 for trunk/VUT/GtpVisibilityPreprocessor/src/VspBspTree.cpp
- Timestamp:
- 01/25/06 14:35:01 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VspBspTree.cpp
r574 r576 2303 2303 if (entSide < 0) 2304 2304 { 2305 2306 2307 2308 2309 2310 2305 node = in->GetBack(); 2306 // plane does not split ray => no far child 2307 if (extSide <= 0) 2308 continue; 2309 2310 farChild = in->GetFront(); // plane splits ray 2311 2311 } 2312 2312 else if (entSide > 0) 2313 2313 { 2314 2315 2316 2317 2314 node = in->GetFront(); 2315 2316 if (extSide >= 0) // plane does not split ray => no far child 2317 continue; 2318 2318 2319 2319 farChild = in->GetBack(); // plane splits ray … … 2364 2364 return hits; 2365 2365 } 2366 2367 2368 2366 2369 2367 2370 int VspBspTree::TreeDistance(BspNode *n1, BspNode *n2) const
Note: See TracChangeset
for help on using the changeset viewer.