Skip to content

Show how OpenGL works, a simple program of circle – drawing is added in C using OpenGL platform.

Notifications You must be signed in to change notification settings

leobrines/opengl-glut-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

opengl-glut-example

Show how OpenGL works, a simple program of circle – drawing is added in C using OpenGL platform.

All credits to https://www.geeksforgeeks.org/getting-started-with-opengl/

Requisites

On Linux

For installing OpenGL on ubuntu, just execute the following command (like installing any other thing) in terminal:

sudo apt-get install freeglut3-dev

Compile

To compile the above program in ubuntu,

gcc filename.c -lGL -lGLU -lglut -lm 

where filename.c is the name of the file with which this program is saved.

About

Show how OpenGL works, a simple program of circle – drawing is added in C using OpenGL platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages