- Timestamp:
- 01/21/07 00:40:56 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp
r1996 r2003 10 10 11 11 12 InternalRayCaster::InternalRayCaster(const Preprocessor &preprocessor , KdTree *kdTree):13 RayCaster(preprocessor) , mKdTree(kdTree)12 InternalRayCaster::InternalRayCaster(const Preprocessor &preprocessor): 13 RayCaster(preprocessor) 14 14 { 15 15 } … … 50 50 51 51 52 if (m KdTree->CastRay(ray)) {52 if (mPreprocessor.mKdTree->CastRay(ray)) { 53 53 hitA.mObject = ray.intersections[0].mObject; 54 54 hitA.mPoint = ray.Extrap(ray.intersections[0].mT); … … 60 60 ray.mFlags &= ~Ray::CULL_BACKFACES; 61 61 62 if (castDoubleRay && m KdTree->CastRay(ray)) {62 if (castDoubleRay && mPreprocessor.mKdTree->CastRay(ray)) { 63 63 hitB.mObject = ray.intersections[0].mObject; 64 64 hitB.mPoint = ray.Extrap(ray.intersections[0].mT); … … 102 102 VssRay *vssRay; 103 103 104 if (m KdTree->CastRay(ray)) {104 if (mPreprocessor.mKdTree->CastRay(ray)) { 105 105 // sort intersections 106 106 ray.SortIntersections();
Note: See TracChangeset
for help on using the changeset viewer.