Ignore:
Timestamp:
08/07/05 20:16:30 (19 years ago)
Author:
bittner
Message:

data added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Ray.h

    r191 r209  
    2121{ 
    2222public: 
    23   enum RayType { LOCAL_RAY, GLOBAL_RAY }; 
     23  enum RayType { LOCAL_RAY, GLOBAL_RAY, LINE_SEGMENT }; 
    2424 
    2525  enum { NO_INTERSECTION=0, INTERSECTION_OUT_OF_LIMITS, INTERSECTION }; 
     
    6666      const void *_originCell = NULL) { 
    6767    loc = wherefrom; 
    68     dir = Normalize(whichdir); 
     68    if (_type == LINE_SEGMENT) 
     69      dir = whichdir; 
     70    else 
     71      dir = Normalize(whichdir); 
    6972    mType = _type; 
    7073    depth = 0; 
Note: See TracChangeset for help on using the changeset viewer.