- Timestamp:
- 01/12/07 22:41:01 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp
r1964 r1972 192 192 } 193 193 194 void InternalRayCaster::CastRays16(const int index, 195 194 195 void InternalRayCaster::CastRays16(SimpleRayContainer &rays, 196 196 VssRayContainer &vssRays, 197 197 const AxisAlignedBox3 &sbox, … … 199 199 const bool pruneInvalidRays) 200 200 { 201 const int num = 16;202 203 201 #if DEBUG_RAYCAST 204 202 Debug << "C16 " << flush; 205 203 #endif 206 204 205 SimpleRayContainer::const_iterator sit, sit_end = rays.end(); 206 207 207 // no acceleration for ray bundles implemented right now 208 for ( int i = index; i < index + num; i++)208 for (sit = rays.begin(); sit != sit_end; ++ sit) 209 209 { 210 CastRay( rays[i], vssRays, sbox,castDoubleRays, pruneInvalidRays);210 CastRay(*sit, vssRays, sbox, castDoubleRays, pruneInvalidRays); 211 211 } 212 212
Note: See TracChangeset
for help on using the changeset viewer.