Ignore:
Timestamp:
11/28/06 19:46:36 (18 years ago)
Author:
bittner
Message:

global lines support

File:
1 edited

Legend:

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

    r1772 r1824  
    219219                faceIndex < mFaces.size(); 
    220220                faceIndex++) { 
    221     hits += CastRayToFace(faceIndex, ray, nearestT, nearestNormal, nearestFace, instance); 
     221    hits += CastRayToFace(faceIndex, 
     222                                                                                                        ray, 
     223                                                                                                        nearestT, 
     224                                                                                                        nearestNormal, 
     225                                                                                                        nearestFace, 
     226                                                                                                        instance); 
    222227    if (mIsConvex && nearestFace != -1) 
    223228      break; 
     
    226231  if ( hits && ray.GetType() == Ray::LOCAL_RAY ) { 
    227232    if (ray.intersections.size()) 
    228       ray.intersections[0] = Ray::Intersection(nearestT, nearestNormal, instance, nearestFace); 
     233      ray.intersections[0] = Ray::Intersection(nearestT, 
     234                                                                                                                                                                                         nearestNormal, 
     235                                                                                                                                                                                         instance, 
     236                                                                                                                                                                                         nearestFace); 
    229237    else 
    230       ray.intersections.push_back(Ray::Intersection(nearestT, nearestNormal, instance, nearestFace)); 
     238      ray.intersections.push_back(Ray::Intersection(nearestT, 
     239                                                                                                                                                                                                                nearestNormal, 
     240                                                                                                                                                                                                                instance, 
     241                                                                                                                                                                                                                nearestFace)); 
    231242  } 
    232243   
Note: See TracChangeset for help on using the changeset viewer.