CCSU Fall 1999 Project 4 Posting Date: November 29, 1999 Due Date: December 14, 1999 Relevant Demos and Tutorials: All six demos on the Demos page. Introduction: This project is dead simple. You only have to insert around 20 lines of code, and you can follow the models in the six demos. Detailed Specifications: 1. Add rotX() and rotY() methods to Point.java, Edge.java, Face.java, Cube.java, and (your choice) CubeViewer.java or CubeScroller.java. The rotX() and rotY() methods rotate around the x and y world coordinate axes. The method headers (return type, parameters) are similar to the rotZ() method headers. So is the code. 2. Insert code in the appropriate place in (your choice) CubeViewer.java or CubeScroller.java to make the appropriate transformation to viewing coordinates so the cube appears in the middle of the Applet Panel. There are even directions as to how to do this. 3. Note: I expect a complete, working CubeViewer.java program, or a complete, working CubeScroller.java program. Don't implement rotations in one and viewing coordinate transformations in the other. 4. Hint: Students who use the trans() method to shift to viewing coordinates are very unlikely to end up with a complete working program. General Instructions: Same as for Project 1. Do not change the file names, that is continue to use Point.java, Edge.java, Face.java, Cube.java, and CubeViewer.java or CubeScroller.java.