Changeset 362 for trunk/VUT/GtpVisibilityPreprocessor/src/Camera.cpp
- Timestamp:
- 11/01/05 02:37:51 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Camera.cpp
r263 r362 102 102 int k =0; 103 103 for (int j=0; j < rays.size(); j++) 104 if (rays[j]. leaves.size()) {104 if (rays[j].kdLeaves.size()) { 105 105 Ray *ray = &(rays[j]); 106 106 int i; 107 107 if (1) 108 for (i= 0; i < ray-> leaves.size(); i++)109 exporter->ExportBox(tree->GetBox(ray-> leaves[i]));108 for (i= 0; i < ray->kdLeaves.size(); i++) 109 exporter->ExportBox(tree->GetBox(ray->kdLeaves[i])); 110 110 if (0) 111 111 for (i= 0; i < ray->meshes.size(); i++) … … 130 130 131 131 ray.intersections.clear(); 132 ray. leaves.clear();132 ray.kdLeaves.clear(); 133 133 ray.meshes.clear(); 134 134 ray.bspLeaves.clear(); 135 135 136 ray.Init(mPosition, target, Ray::LOCAL_RAY); 136 137
Note: See TracChangeset
for help on using the changeset viewer.