Final Project - Math 155B - Student: Nisha Patel

Comments

For my final project, I thought I'd do something fun....like getting rid of all the teapots we've been working with
for the past quarter (or two for those who had 167).  I created a carnival "booth" with a Teapot Game.  The user can click
anywhere on the screen, and another teapot will interpolate to that position.  The object of the game is to get rid of all
three teapots on the screen by colliding the thrown teapot with the ones present.  If this happens, the present teapot will
disappear.  All users play until they win!

I obtained the position of where the user clicked by Project 5's MouseUpDown() function.  Then, after I converted
those pixel positions to actual coordinates, I created quarternions for the intial position of the thrown teapot and where the
user clicked.  I also had to do some collision dectection to determine if the thrown teapot hit one of the three present
teapots.  I did this by creating a sphere around the objects to figure out if the coordinates overlap with eachother.  
I initially wanted the hit teapots to rotate down or off some sort of pedastal that they were sitting on, but I ran out of 
time due to my stupid finals that I have to study for.  

List of figures