Changeset 1824 for GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.cpp
- Timestamp:
- 11/28/06 19:46:36 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.cpp
r1772 r1824 219 219 faceIndex < mFaces.size(); 220 220 faceIndex++) { 221 hits += CastRayToFace(faceIndex, ray, nearestT, nearestNormal, nearestFace, instance); 221 hits += CastRayToFace(faceIndex, 222 ray, 223 nearestT, 224 nearestNormal, 225 nearestFace, 226 instance); 222 227 if (mIsConvex && nearestFace != -1) 223 228 break; … … 226 231 if ( hits && ray.GetType() == Ray::LOCAL_RAY ) { 227 232 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); 229 237 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)); 231 242 } 232 243
Note: See TracChangeset
for help on using the changeset viewer.