GLVERTEX2F (GLFLOAT, GLFLOAT) is a function that displays two parameters in the window. If you want to display two parameters in the window, the values of the parameters range from 0.0 to 1.0.
glBegin(GL_LINES):
vertex2f *(A);
glVertex2f*(A);
glVertex2f*(B);
glVertex2f * ©;
AB and CD… There will be linear connections between, but no linear connections between BC and DE
GlBegin (GL_LINE_STRIP) :
glVertex2f * (A);
glVertex2f*(B);
glVertex2f * ©;
AB and CD… There will be linear connections between BC and DE
Read More:
- An example of 3D data modeling based on VB6 + OpenGL
- Drawing cube with OpenGL
- 1 vs20152017 + OpenGL to configure and draw a white rectangle
- A strange problem in compiling OpenGL program
- Implementation of OpenGL rotating cube
- Drawing a cube with OpenGL
- Configuring OpenGL in Visual Studio 2015
- Error prompt of MAPP opening PHP under Mac OS
- Vs2015 + OpenGL environment configuration
- Vs2015 configuring OpenGL (glfw, glew)
- OpenGL Usage Summary (including problems encountered and solutions)
- OpenGL learning notes and other learning thinking
- How Notepad + + displays all characters (for hidden carriage return spaces)
- Beginners of OpenGL (1): preparation
- Click the button to use in the react project window.open Methods open a new page and click the data again
- Shell gets the current time of the system and formats it
- window.open () several ways to open windows
- Configuring glfw library and glad Library in opengl-vs2015
- MySQL partitions the existing tables of the data table
- Error c2061: syntax error: identifier ‘this_ FILE’