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/PowderN.comp

    r2825 r2923  
    606606      intersecti = sphere_intersect  (&t1, &t2, x,y,z, vx,vy,vz, radius_i); 
    607607    } else if (line_info.shape == 3) { 
    608       intersect  = off_intersect  (&t0, &t3, x,y,z, vx,vy,vz, offdata); 
     608      intersect  = off_intersect  (&t0, &t3, NULL, NULL, x,y,z, vx,vy,vz, offdata); 
    609609      intersecti = 0;  
    610610    } 
     
    752752            intersecti = sphere_intersect  (&t1, &t2, x,y,z, vx,vy,vz, radius_i); 
    753753          } else if (line_info.shape == 3) { 
    754             intersect  = off_intersect  (&t0, &t3, x,y,z, vx,vy,vz, offdata); 
     754            intersect  = off_intersect  (&t0, &t3, NULL, NULL, x,y,z, vx,vy,vz, offdata); 
    755755            intersecti = 0; 
    756756          } 
     
    812812          intersecti = sphere_intersect  (&t1, &t2, x,y,z, vx,vy,vz, radius_i); 
    813813        } else if (line_info.shape == 3) { 
    814           intersect  = off_intersect  (&t0, &t3, x,y,z, vx,vy,vz, offdata); 
     814          intersect  = off_intersect  (&t0, &t3, NULL, NULL, x,y,z, vx,vy,vz, offdata); 
    815815          intersecti = 0; 
    816816        }