/* My Creative Object for the Object Library Purpose: Function draws a three flower bouquet Justina Wang justinawang.h Function: void jwangFlowerBouquet(twTriple color1, GLfloat num1, twTriple color2, GLfloat num2, twTriple color3, GLfloat num3, int flowerHeight); ********************************** PARAMETERS ********************************** My function takes seven arguments: 1. Color of flower 1 - twTriple 2. Number of petals on flower 1 - GLfloat 3. Color of flower 2 - twTriple 4. Number of petals on flower 2 - GLfloat 5. Color of flower 3 - twTriple 6. Number of petals on flower 3 - GLfloat 7. height of flower 1,2,3 - int ********************************** DETAILS ********************************** ORIGIN: The origin of the bouquet is at the bottom of the stems of the flowers. ORIENTATION: The flower is built up in a positive y direction. SIZE: The petal size and pollen center size are immutable. The stem of the flower is 0.1 in radius, but the height is specified by the user (parameter #7). COLORS: Each flower color is specified by the user (parameters #1, #3, #5). ************************************ FURTHER DESCRIPTION ************************************ PETALS: The petals are drawn tilted 15 degrees up. The size of the petal is 0.2 in height (y axis), 0.5 in length (x axis) 0.1 in width (z axis). The function twDisk is used, and so the normal of the petal is in the positive z direction FLOWER: The flowers are the color specified by the user. It has low specular light value of 0.3 and a low shininess value of 10. The number of petals are specified by the user. They are evenly spaced out around the pollen center.The pollen center is yellow and is a sphere with a radius of 0.15. The stem is green and has the height specified by the user. */ // THE HEADER WITH DOCUMENTATION // ******************************************** // draws three flowers. takes seven parameters: the colors and number of // petals for each of the flowers and the flower height // ******************************************** void jwangFlowerBouquet(twTriple color1, GLfloat num1, twTriple color2, GLfloat num2, twTriple color3, GLfloat num3, int flowerHeight);