home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vectoper.zip / RTIntOps.h < prev    next >
Text File  |  1996-03-10  |  1KB  |  31 lines

  1. /*
  2.  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3.  +
  4.  +  intersect.h  -- contains constant definitions for intersection routines
  5.  +
  6.  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  7.  */
  8.  
  9.  
  10. #define NEAREST  0    /* flag indicating nearest intersection of obj desired */
  11. #define LF       1    /* flag indicating first intersection of obj desired */
  12.  
  13.  
  14. Boolean nearest_int(Ray i_ray, int *obj_no, Vector *int_val,
  15.                     Vector *Pt_norm, Vector *patch_norm);
  16.  
  17.  
  18. Boolean sphere_int (Ray ray, Sphere_Obj *s_ptr, Boolean norm_flg,
  19.                     Vector *int_pt, Vector *pt_norm, Vector *norm, float *t);
  20.  
  21.  
  22.  
  23. Boolean poly_mesh_int(Ray ray, Poly_Mesh_Obj *obj_ptr, Boolean norm_flg,
  24.                       int type, float *t_val, Vector *int_val,
  25.                       Vector *Pt_norm, Vector *t_norm);
  26.  
  27.  
  28. Boolean rect_int(Ray ray, Rect_Obj *r_ptr, Boolean norm_flg, float *t,
  29.                  Vector *Pint, Vector *r_norm);
  30.  
  31.