home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
vectoper.zip
/
RTIMOps.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-03-10
|
767b
|
28 lines
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ illum.h -- contains misc. definitions for Warn lighting model
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#define LIGHTS_MAX 10 /* maximum number of light sources supported */
/*
extern Light lights[LIGHTS_MAX]; * array containing light source structs *
extern float PhongConst; * value for Phong Constant *
*/
void Illumination_Model(Vector pt, Vector *N_vec, Vector *View_vec,
Vector *Od, Vector *Os,
float Ka, float Kd, float Ks,
Vector *U, Vector *V);
float Light_Feeler(Vector pt, Vector light_pt);