Changeset 2923 for trunk/nlib/samples/Single_crystal.comp
- Timestamp:
- 09/02/10 11:52:26 (21 months ago)
- Files:
-
- 1 modified
-
trunk/nlib/samples/Single_crystal.comp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/nlib/samples/Single_crystal.comp
r2837 r2923 807 807 intersect = sphere_intersect(&t1, &t2, x, y, z, vx, vy, vz, radius); 808 808 else if (hkl_info.shape == 3) 809 intersect = off_intersect(&t1, &t2, x, y, z, vx, vy, vz, offdata );809 intersect = off_intersect(&t1, &t2, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 810 810 811 811 if (t2 < 0) intersect=0; /* we passed sample volume already */ … … 835 835 intersect = sphere_intersect(&t1, &t2, x, y, z, vx, vy, vz, radius); 836 836 else if (hkl_info.shape == 3) 837 intersect = off_intersect(&t1, &t2, x, y, z, vx, vy, vz, offdata );837 intersect = off_intersect(&t1, &t2, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 838 838 if(!intersect || t2*v < -1e-9 || t1*v > 1e-9) 839 839 {
