9 Question 3 Not yet answered Marked out of 3 What output is drawn for methods bellow? void glinit() { I set colors and
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
9 Question 3 Not yet answered Marked out of 3 What output is drawn for methods bellow? void glinit() { I set colors and
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!