Text archives Help
- From: "Thiago Ize" <
>
- To:
- Subject: [Manta] r2303 - in trunk/Model: Cameras Groups
- Date: Fri, 11 Jul 2008 12:53:53 -0600 (MDT)
Author: thiago
Date: Fri Jul 11 12:53:52 2008
New Revision: 2303
Modified:
trunk/Model/Cameras/SphereCamera.cc
trunk/Model/Groups/RecursiveGrid.cc
Log:
Groups/RecursiveGrid.cc:
-When clearing the grid, also clear the GridArray3
data structures.
Cameras/SphereCamera.cc:
-Initialize the ray time.
Modified: trunk/Model/Cameras/SphereCamera.cc
==============================================================================
--- trunk/Model/Cameras/SphereCamera.cc (original)
+++ trunk/Model/Cameras/SphereCamera.cc Fri Jul 11 12:53:52 2008
@@ -59,6 +59,7 @@
Real x = r*Cos(phi);
Real y = r*Sin(phi);
rays.setRay(i, eye, Vector(x, y, z));
+ rays.data->time[i] = 0;
}
}
Modified: trunk/Model/Groups/RecursiveGrid.cc
==============================================================================
--- trunk/Model/Groups/RecursiveGrid.cc (original)
+++ trunk/Model/Groups/RecursiveGrid.cc Fri Jul 11 12:53:52 2008
@@ -46,6 +46,8 @@
}
delete[] lists;
+ cells.resize(0,0,0,0);
+ subGridList.resize(0,0,0,0);
}
void RecursiveGrid::transformToLattice(const BBox& box,
- [Manta] r2303 - in trunk/Model: Cameras Groups, Thiago Ize, 07/11/2008
Archive powered by MHonArc 2.6.16.