home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vectoper.zip / RTIMOps.h < prev    next >
C/C++ Source or Header  |  1996-03-10  |  767b  |  28 lines

  1.  
  2. /*
  3.  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  4.  +
  5.  +  illum.h  -- contains misc. definitions for Warn lighting model
  6.  +
  7.  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  8.  */
  9.  
  10.  
  11. #define LIGHTS_MAX   10   /* maximum number of light sources supported */
  12.  
  13. /*
  14. extern Light lights[LIGHTS_MAX];    * array containing light source structs * 
  15.  
  16. extern float   PhongConst;          * value for Phong Constant * 
  17.  */
  18.  
  19.  
  20.  
  21. void Illumination_Model(Vector pt, Vector *N_vec, Vector *View_vec,
  22.                         Vector *Od, Vector *Os,
  23.                         float Ka, float Kd, float Ks, 
  24.                         Vector *U, Vector *V);
  25.  
  26. float Light_Feeler(Vector pt, Vector light_pt);
  27.  
  28.