Modify Program 2.5 so that the vertex shader includes one of the buildRotate() functions from Program 3.1
Question:
Modify Program 2.5 so that the vertex shader includes one of the buildRotate() functions from Program 3.1 and applies it to the points comprising the triangle. This should cause the triangle to be rotated from its original orientation. You don’t need to animate the rotation.
Program 2.5
Program 3.1
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Computer Graphics Programming In OpenGL With JAVA
ISBN: 9781683922193
2nd Edition
Authors: V. Scott Gordon PhD, John L. Clevenger PhD
Question Posted: