Write a program that displays a triangle, translates and rotates it be some angle (for example 45 degree in 2D space) and shows the triangle in new shape and position(Figure 5). You can use the functions glTranslatef, glRoratef functions for translations. You can use glutBitmapString function to draw the string on GLUT window.
FIGURE 1 Translating and rotating triangles
For a custom paper on the above or a related assignment, place your order now!
Use “20” as the discount code to redeem your offer!
What We Offer:
• Affordable Rates – (15 – 25% Discount on all orders above $50 )
• 100% Free from Plagiarism
• Masters & Ph.D. Level Writers
• Money Back Guarantee