#include "constants.h" #include "funcdefs.h" double (*objint[])() = {intsph, intbox, inttri, intsup}; /* intersections */ int (*objnrm[])() = {nrmsph, nrmbox, nrmtri, nrmsup}; /* normals */ int nlight; int lightlim = LIGHTS; t_light light[LIGHTS]; int nobject; int objectlim = OBJECTS; t_object object[OBJECTS]; int nsurface; int surfacelim = SURFACES; t_surface surface[SURFACES]; int sizex, sizey; t_3d eyep, lookp, up; double hfov, vfov; int level, maxlevel; char outfilename[60]; t_color background;