9 Question 3 Not yet answered Marked out of 3 What output is drawn for methods bellow? void glinit() { I set colors and
Posted: Sat May 14, 2022 2:46 pm
9 Question 3 Not yet answered Marked out of 3 What output is drawn for methods bellow? void glinit() { I set colors and camera size glClearColor(0.0F, 1.0F, 0.0f, 0.0f); glMatrixMode(GL_PROJECTION); glLoadIdentity(); float cam Size = 1.5F; glOrtho(-camSize, camSize, camSize, camSize, -camSize, camSize); } void glMainLoop({ glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_LINE_LOOP); glVertex2F(0.0f, 1.0F); glVertex2F(0.25F, 0.25F); glVertex2F(1.0F, 0.0F); glVertex2F(0.25F,-0.25F); glVertex2F(0.0F, -1.0f); glVertex2F(-0.25F, -0.25F); glVertex2F(-1.0F, 0.0F); glVertex2F(-0.25F, 0.25f); glEnd(); glFlush(); 1 FUJIT