- Timestamp:
- 02/05/06 11:03:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp
r590 r598 41 41 { 42 42 CLEAR_CONTAINER(mVssRays); 43 DEL_PTR(mViewSpaceBox); 43 44 } 44 45 … … 526 527 if (mUseViewSpaceBox) 527 528 { 528 mViewSpaceBox = box; 529 if (0) 530 mViewSpaceBox = box; 531 else 532 { 533 // HACK: enlarge in y directon 534 mViewSpaceBox = new AxisAlignedBox3(mKdTree->GetBox()); 535 //Vector3 pmin = mViewSpaceBox->Min(); 536 Vector3 size = mViewSpaceBox->Size(); 537 //size[1] *= 1.25; 538 Vector3 enlarge(size[0] * 0.1f, size[1] * 0.0f, size[2] * 0.1); 539 540 mViewSpaceBox->Enlarge(enlarge); 541 } 542 543 //Debug << "view space box: " << *mViewSpaceBox << endl; 529 544 } 530 545 else
Note: See TracChangeset
for help on using the changeset viewer.