Changeset 475 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h
- Timestamp:
- 12/21/05 20:21:30 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h
r473 r475 851 851 }; 852 852 853 struct BspIntersection { 854 // the point of intersection 855 float mT; 853 struct BspIntersection 854 { 855 // the point of intersection 856 float mT; 856 857 857 858 BspLeaf *mLeaf; 858 859 859 860 BspIntersection(const float t, BspLeaf *l): 860 861 mT(t), mLeaf(l) {} 861 862 862 863 BspIntersection() {} 863 864 864 bool operator<(const BspIntersection &b) const { 865 return mT <b.mT; } 865 bool operator<(const BspIntersection &b) const 866 { 867 return mT < b.mT; 868 } 869 }; 870 871 struct BspRay 872 { 873 VssRay *vssRay; 874 875 std::vector<BspIntersection> intersections; 876 877 BspRay(VssRay *ray): vssRay(ray) {} 866 878 }; 867 879
Note: See TracChangeset
for help on using the changeset viewer.