Changeset 209 for trunk/VUT/GtpVisibilityPreprocessor/src/Ray.h
- Timestamp:
- 08/07/05 20:16:30 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Ray.h
r191 r209 21 21 { 22 22 public: 23 enum RayType { LOCAL_RAY, GLOBAL_RAY };23 enum RayType { LOCAL_RAY, GLOBAL_RAY, LINE_SEGMENT }; 24 24 25 25 enum { NO_INTERSECTION=0, INTERSECTION_OUT_OF_LIMITS, INTERSECTION }; … … 66 66 const void *_originCell = NULL) { 67 67 loc = wherefrom; 68 dir = Normalize(whichdir); 68 if (_type == LINE_SEGMENT) 69 dir = whichdir; 70 else 71 dir = Normalize(whichdir); 69 72 mType = _type; 70 73 depth = 0;
Note: See TracChangeset
for help on using the changeset viewer.