Changeset 2063 for GTP/trunk/Lib/Vis/Preprocessing/src/Mutation.cpp
- Timestamp:
- 01/28/07 23:41:59 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Mutation.cpp
r2060 r2063 336 336 ) 337 337 { 338 #ifdef GTP_INTERNAL 339 338 340 // first reconstruct the termination point 339 341 Vector3 oldDir = Normalize(oldRay.GetDir()); … … 368 370 float left = 0.0f; 369 371 float right = 1.0f; 372 370 373 // cast rays to find silhouette ray 371 374 for (int j=0; j < mSilhouetteSearchSteps; j++) { … … 442 445 } 443 446 444 447 #else 448 cerr << "warning: reverse mutation not supported!" << endl; 449 #endif 445 450 446 451 return true; … … 460 465 ) 461 466 { 467 #ifdef GTP_INTERNAL 468 462 469 const int packetSize = 4; 463 470 static int hit_triangles[packetSize]; … … 516 523 // cout<<i<<endl; 517 524 return shifts[i]; 525 526 #else 527 cerr << "warning: shiluette mutation not supported" << endl; 528 return Vector3(0, 0, 0); 529 #endif 530 518 531 } 519 532
Note: See TracChangeset
for help on using the changeset viewer.