Changeset 2635 for GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.cpp
- Timestamp:
- 01/23/08 03:20:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.cpp
r2629 r2635 9 9 namespace GtpVisibilityPreprocessor { 10 10 11 12 #define DEBUG_PROCESS_RAY 0 11 13 12 14 #define DEBUG_RAYCAST 0 … … 412 414 { 413 415 if (!hitA.mObject && !hitB.mObject) { 416 #if DEBUG_PROCESS_RAY 417 cout<<"I1 "; 418 #endif 414 419 return 0; 415 420 } … … 419 424 // rays whic degenerate to a point 420 425 if (EpsilonEqualV3(hitA.mPoint, hitB.mPoint, Limits::Small)) { 426 #if DEBUG_PROCESS_RAY 427 cout<<"I2 "; 428 #endif 421 429 return 0; 422 430 } … … 435 443 if (0 || pruneInvalidRays) 436 444 return 0; 437 445 446 #if DEBUG_PROCESS_RAY 447 cout<<"I2 "; 448 #endif 449 438 450 // reset both contributions of this ray 439 451 hitA.mObject = NULL; … … 459 471 hitB.mPoint, 460 472 clipA, 461 clipB)) 473 clipB)) { 474 #if DEBUG_PROCESS_RAY 475 cout<<"I3 "; 476 #endif 477 462 478 return 0; 479 } 463 480 464 481 if (!pruneInvalidRays || hitA.mObject) {
Note: See TracChangeset
for help on using the changeset viewer.