Changeset 2728 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 05/30/08 10:38:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r2726 r2728 803 803 bool ViewCellBasedDistribution::GenerateSample(SimpleRay &ray) 804 804 { 805 806 static Vector3 origin; 807 static Vector3 direction; 808 static Vector3 point; 809 static Vector3 normal; 810 static float r[2]; 811 805 812 sHalton.GetNext(2, r); 806 813 direction = UniformRandomVector(r[0], r[1]);
Note: See TracChangeset
for help on using the changeset viewer.