// *********** My Object for the object library ************ // This function draws a mailbox. The mailbox's origin is at the center at the // base of the post of the mailbox. // The mailbox is drawn upright, sitting on the x-z plane. // The opening of the mailbox is along the z axis and faces down the +ve z axis // The user specifies the height of the mailbox as a float and // an integer choosing from one of 3 colors (0:red, 1:green, 2:purple) // The default mailbox is purple. // The mailbox's width is a third of the height specified and the depth // is about 2/3rds the height of the mailbox. // The length of the post of the mailbox is .6 of the height. // The post of the mailbox is automatically set to brown. void sdelrosaMailbox(float height, int color);