Show
Ignore:
Timestamp:
09/02/10 11:52:26 (21 months ago)
Author:
farhi
Message:

samples: update call to off_intersect with support for orientation vectors, currently not used.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/nlib/samples/Isotropic_Sqw.comp

    r2850 r2923  
    14221422        intersect=sphere_intersect  (&t0,&t3, x,y,z,vx,vy,vz, radius); 
    14231423      else if (VarSqw.shape == 3) 
    1424         intersect=off_intersect(&t0, &t3, x, y, z, vx, vy, vz, offdata ); 
     1424        intersect=off_intersect(&t0, &t3, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 
    14251425    } else { 
    14261426      if (VarSqw.shape==0) 
     
    14351435        intersect=sphere_intersect  (&t0,&t3, x,y,z,vx,vy,vz, radius-thickness); 
    14361436      else if (VarSqw.shape == 3) 
    1437         intersect=off_intersect(&t0, &t3, x, y, z, vx, vy, vz, offdata ); 
     1437        intersect=off_intersect(&t0, &t3, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 
    14381438    } 
    14391439  } else intersect=0;