- Timestamp:
- 01/19/06 23:36:01 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/AxisAlignedBox3.cpp
r547 r557 1759 1759 } 1760 1760 1761 1761 1762 bool AxisAlignedBox3::GetRaySegment(const Ray &ray, 1762 1763 float &minT, 1763 1764 float &maxT) const 1764 1765 { 1765 maxT = 1e 6;1766 maxT = 1e15; 1766 1767 minT = 0; 1767 1768 1768 // test with 1769 // test with bounding box 1769 1770 if (!GetMinMaxT(ray, &minT, &maxT)) 1770 1771 return false; 1771 1772 1772 if (minT < 0) // start ray from origin1773 if (minT < 0) 1773 1774 minT = 0; 1774 1775
Note: See TracChangeset
for help on using the changeset viewer.