Ignore:
Timestamp:
01/21/07 00:40:56 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp

    r1996 r2003  
    1010 
    1111 
    12 InternalRayCaster::InternalRayCaster(const Preprocessor &preprocessor, KdTree *kdTree): 
    13 RayCaster(preprocessor), mKdTree(kdTree) 
     12InternalRayCaster::InternalRayCaster(const Preprocessor &preprocessor): 
     13RayCaster(preprocessor) 
    1414{ 
    1515} 
     
    5050 
    5151   
    52   if (mKdTree->CastRay(ray)) { 
     52  if (mPreprocessor.mKdTree->CastRay(ray)) { 
    5353        hitA.mObject = ray.intersections[0].mObject; 
    5454        hitA.mPoint = ray.Extrap(ray.intersections[0].mT); 
     
    6060  ray.mFlags &= ~Ray::CULL_BACKFACES; 
    6161   
    62   if (castDoubleRay && mKdTree->CastRay(ray)) { 
     62  if (castDoubleRay && mPreprocessor.mKdTree->CastRay(ray)) { 
    6363        hitB.mObject = ray.intersections[0].mObject; 
    6464        hitB.mPoint = ray.Extrap(ray.intersections[0].mT); 
     
    102102  VssRay *vssRay; 
    103103   
    104   if (mKdTree->CastRay(ray)) { 
     104  if (mPreprocessor.mKdTree->CastRay(ray)) { 
    105105        // sort intersections 
    106106        ray.SortIntersections(); 
Note: See TracChangeset for help on using the changeset viewer.