GL_QUAD and GL_QUAD STRIP
Code:-
Output:-
Code:-
Output:-
OpenGL (Open Graphics Library) is a cross-language, multi-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is
typically used to interact with a Graphics
processing unit (GPU), to achieve hardware-accelerated rendering.
The OpenGL
specification describes an abstract API for drawing 2D and 3D graphics.
Although it is possible for the API to be implemented entirely in software, it
is designed to be implemented mostly or entirely in hardware.
Comments