Changeset 485 for trunk/VUT/GtpVisibilityPreprocessor/src/RayInfo.cpp
- Timestamp:
- 12/30/05 12:08:15 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RayInfo.cpp
r448 r485 133 133 { 134 134 t = splitPlane.FindT(mRay->GetOrigin(), mRay->GetTermination()); 135 // Debug << "t: " << t << " mint " << GetMinT() << " maxt " << GetMaxT() << 136 // " orig: " << mRay->GetOrigin() << " term " << mRay->GetTermination() << endl; 135 137 136 // Debug << "t: " << t << " mint " << GetMinT() << " maxt " << GetMaxT() << " orig: " << mRay->GetOrigin() << 137 // " term " << mRay->GetTermination() << endl; 138 if ((t < GetMinT()) || (t > GetMaxT())) 138 // NOTE: if plane equals end point of ray, the ray should be classified 139 // non-intersecting, otherwise polygon-plane intersections of bsp tree 140 // approaches are not eliminating any rays intersecting the polygon! 141 142 //if (t > GetMaxT()) 143 if (t >= GetMaxT() - 1e-20) 139 144 return splitPlane.Side(ExtrapOrigin()); 145 //if (t < GetMinT()) 146 if (t <= GetMinT() + 1e-20) 147 return splitPlane.Side(ExtrapTermination()); 140 148 141 149 return 0;
Note: See TracChangeset
for help on using the changeset viewer.