GL_TRIANGLES, GL_TRIANGLE_STRIP, & GL_TRIANGLE_FAN
Code:-
Output:-
Code:-
Output:-
OpenGL is the
most widely adopted 2D and 3D graphics API in the industry, bringing thousands
of applications to a wide variety of computer platforms. It is window-system
and operating-system independent as well as network-transparent. OpenGL enables
developers of software for PC, workstation, and supercomputing hardware to
create high-performance, visually compelling graphics software applications, in
markets such as CAD, content creation, energy, entertainment, game development,
manufacturing, medical, and virtual reality. OpenGL exposes all the features of
the latest graphics hardware.
Comments