--- ray/src/hd/rhd_geom.c 1999/01/29 15:33:36 3.8 +++ ray/src/hd/rhd_geom.c 2004/01/01 11:21:55 3.14 @@ -1,15 +1,16 @@ -/* Copyright (c) 1999 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: rhd_geom.c,v 3.14 2004/01/01 11:21:55 schorsch Exp $"; #endif - /* * Geometry drawing operations for OpenGL driver. */ +#include + +#include "rtio.h" #include "radogl.h" #include "rhdriver.h" +#include "rhd_odraw.h" #ifndef MAXGEO #define MAXGEO 8 /* maximum geometry list length */ @@ -26,7 +27,7 @@ static char *newportlist[MAXPORT]; /* new portal file static struct gmEntry { char *gfile; /* geometry file name */ FVECT cent; /* centroid */ - FLOAT rad; /* radius */ + RREAL rad; /* radius */ int listid; /* display list identifier */ int nlists; /* number of lists allocated */ } gmCurrent[MAXGEO], gmNext[MAXGEO]; /* current and next list */ @@ -35,11 +36,13 @@ static struct gmEntry { #define FORALLPORT(pl,i) for (i=0;i