Changeset 2198 for GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
- Timestamp:
- 03/06/07 17:37:28 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r2187 r2198 1189 1189 const long t1 = GetTime(); 1190 1190 1191 if ( 1 && (rays.size() > 10000))1191 if (rays.size() > 10000) 1192 1192 { 1193 1193 1194 1194 mRayCaster->SortRays(rays); 1195 1195 cout<<"Rays sorted in "<<TimeDiff(t1, GetTime())<<" ms."<<endl; 1196 1197 if (0) {1198 VssRayContainer tmpRays;1199 int m = 890000;1200 1201 for (int i=m; i < m+20; i++) {1202 tmpRays.push_back(new VssRay(rays[i].mOrigin,1203 rays[i].mOrigin + 100.0f*rays[i].mDirection,1204 NULL,1205 NULL1206 )1207 );1208 1209 }1210 ExportRays("sorted_rays.x3d", tmpRays, 200);1211 }1212 1196 } 1213 1197
Note: See TracChangeset
for help on using the changeset viewer.