Question: Modify Program 4.4 to include a second planet, which is your custom 3D shape from Exercise 4.1. Make sure that your new planet is in
Modify Program 4.4 to include a second “planet,” which is your custom 3D shape from Exercise 4.1. Make sure that your new “planet” is in a different orbit than the existing planet, so that they don’t collide.
Exercise 4.1
Modify Program 4.1 to replace the cube with some other simple 3D shape of your own design. Be sure to properly specify the number of vertices in the glDrawArrays() command.
Program 4.1







Program 4.4


Java/JOGL Application import java.nio.*; import javax.swing.*; import java.lang.Math;
Step by Step Solution
3.42 Rating (161 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
