- Timestamp:
- 01/19/06 15:30:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp
r554 r556 79 79 80 80 81 if (!mDetectEmptyViewSpace) 82 ray.mFlags &= ~Ray::CULL_BACKFACES; 83 81 if (!mDetectEmptyViewSpace) 82 ray.mFlags &= ~Ray::CULL_BACKFACES; 83 else 84 ray.mFlags |= Ray::CULL_BACKFACES; 85 84 86 if (mKdTree->CastRay(ray)) { 85 87 objectA = ray.intersections[0].mObject; … … 103 105 if (!mDetectEmptyViewSpace) 104 106 ray.mFlags &= ~Ray::CULL_BACKFACES; 107 else 108 ray.mFlags |= Ray::CULL_BACKFACES; 105 109 106 110 if (mKdTree->CastRay(ray)) { … … 120 124 // cast again to ensure that there is no objectA 121 125 SetupRay(ray, pointB, direction); 126 ray.mFlags |= Ray::CULL_BACKFACES; 122 127 if (mKdTree->CastRay(ray)) { 123 128 objectA = ray.intersections[0].mObject;
Note: See TracChangeset
for help on using the changeset viewer.