--- ray/src/rt/raytrace.c 1993/02/23 13:57:11 2.4 +++ ray/src/rt/raytrace.c 1993/05/25 10:30:01 2.6 @@ -25,14 +25,16 @@ extern int maxdepth; /* maximum recursion depth */ extern double minweight; /* minimum ray weight */ extern int do_irrad; /* compute irradiance? */ -long raynum = 0L; /* next unique ray number */ -long nrays = 0L; /* number of calls to localhit */ +unsigned long raynum = 0; /* next unique ray number */ +unsigned long nrays = 0; /* number of calls to localhit */ static FLOAT Lambfa[5] = {PI, PI, PI, 0.0, 0.0}; OBJREC Lamb = { OVOID, MAT_PLASTIC, "Lambertian", {0, 5, NULL, Lambfa}, NULL, }; /* a Lambertian surface */ + +static int raymove(), checkset(), checkhit(); #define MAXLOOP 128 /* modifier loop detection */