/* Jennifer Guinto Demo of Flower Patch object */ #include #include //#include "jguinto.cc" // will be changed to #include // ********************************************************* void display(void) { twDisplayInit(); twCamera(); // sets up camera based on bounding box coordinates jguintoDrawThreeFlowers(); glFlush(); glutSwapBuffers(); } int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); twInitWindowSize(500,500); glutCreateWindow(argv[0]); glutDisplayFunc(display); twBoundingBox(0,5,0,2,-2,2); twMainInit(); glutMainLoop(); return 0; }