Question: 2. (10 points) Make use of the functions glPolygonMode () and glCullFace() discussed in Chapter 3 ( Drawing Objects ) to write a program that

2. (10 points) Make use of the functions glPolygonMode () and glCullFace() discussed in Chapter 3 ( Drawing Objects ) to write a program that can display the front face and back face of a square alternately: 1. It displays the front face in red. 2. When clicking the mouse at the square, it displays the back face in green. 3. When clicked again at the square, it displays the front face again, and so on
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
