CPSC 310 January 31 Assignment

Create a windows program using the XNA Game Studio framework that allows the user to move around a plane that has rotating cubes on it. Use the InputDemo Visual Studio Project from chapter 5 of the book as a starting point. Begin by adding a method that takes a world matrix and draws a cube centered at the origin (you can use your code from the last assignment for this, but you will need to modify it so that the sides of the cube are facing outward. Call this method multiple times with different world matrices to draw it at different locations on the plane. Next create an instance variable to represent the amount of rotation of the cubes. It should be updated every time the update method is called. Finally, modify the world matrix for each of the cubes to rotate before translating, so that each of the cubes rotates in place. To submit your code, zip the directory containing your visual studio project and upload it to the course Inquire site.