Discussion Week 06
Discussion
Copy the HTML code from the link – [https://www.tutorialspoint.com/webgl/webgl_interactive_cube.htm]. Past it in a HTML file and execute it. It should open a web browser.
Rotate the cube with your mouse. Look at the code, identify the mouse input trapping code.
What are the movements captured. Can your keyboard rotate (move) the cube? Write your observations.