Question: #include #include void drow ( ) { glClear ( GL _ COLOR _ BUFFER _ BIT ) ; glPushMatrix ( ) ; glColor 3 f
#include
#include
void drow
glClearGLCOLORBUFFERBIT;
glPushMatrix;
glColorf;
glScaled;
glutSolidSphere;
glPopMatrix;
glPushMatrix;
glColorf;
glTranslated;
glRotated;
glutSolidTorus;
glPopMatrix;
glPushMatrix;
glLineWidth;
glBeginGLLINES;
glVertexd;
glVertexd;
glEnd;
glPopMatrix;
glFlush;
glBeginGLLINES;
glVertexd;
glVertexd;
glEnd;
glPopMatrix;
glFlush;
glBeginGLLINES;
glVertexd;
glVertexd;
glEnd;
glPopMatrix;
glFlush;
int main
glutInitWindowSize;
glutCreateWindowPROJECT;
glutDisplayFuncdrow;
glOrtho;
glClearColor;
glutMainLoop;
i want to modify and add to the existing code, or a new, complete, correct code, to draw the shape in the image
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
