#include #include "typedefs.h" #include "globalvar.h" #include "funcdefs.h" int setup() { nlight = 0; nobject = 0; nsurface = 0; level = 0; sizex = 512; sizey = 512; hfov = 50.0; vfov = 50.0; eyep.x = 0.0; eyep.y = 0.0; eyep.z = 300.0; lookp.x = 0.0; lookp.y = 0.0; lookp.z = 0.0; up.x = 0.0; up.y = 1.0; up.z = 0.0; strcpy(outfilename, "image.ppm"); yyparse(); return 1; }