Ignore:
Timestamp:
01/01/06 06:25:55 (19 years ago)
Author:
mattausch
Message:

fixed bug in raycasting
added valid view point regions, get view point only from valid regions

File:
1 edited

Legend:

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

    r485 r487  
    8181          const float dv = DotProd(v, mNormal); 
    8282     
    83           // does not intersect 
     83          // does not intersect or coincident 
    8484          if (signum(dv) == 0) 
    85                   return -1; 
     85                  return 0; 
    8686         
    8787          return - Distance(a) / dv; // TODO: could be done more efficiently 
Note: See TracChangeset for help on using the changeset viewer.