I am trying to make a motorcycle with primitive forms. For some reason, the forms I made are cross-cutting. I do not indicate any alpha anywhere; here is my code:
#include <GL/glut.h>
You can rotate the camera using the arrow keys to see that objects are being viewed. How can i fix this? Is there anything else I can do to improve the code?
source share