--- ray/src/rt/t_data.c 2003/03/05 16:16:53 2.7 +++ ray/src/rt/t_data.c 2004/03/30 16:13:01 2.8 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: t_data.c,v 2.7 2003/03/05 16:16:53 greg Exp $"; +static const char RCSid[] = "$Id: t_data.c,v 2.8 2004/03/30 16:13:01 schorsch Exp $"; #endif /* * t_data.c - routine for stored textures @@ -8,10 +8,9 @@ static const char RCSid[] = "$Id: t_data.c,v 2.7 2003/ #include "copyright.h" #include "ray.h" - #include "data.h" - #include "func.h" +#include "rtotypes.h" /* * A stored texture is specified as follows: @@ -31,9 +30,11 @@ static const char RCSid[] = "$Id: t_data.c,v 2.7 2003/ */ -t_data(m, r) /* interpolate texture data */ -register OBJREC *m; -RAY *r; +extern int +t_data( /* interpolate texture data */ + register OBJREC *m, + RAY *r +) { int nv; FVECT disp;