Skip to content

ashiagarwal73/Bresenham-s-line-algorithm-for-all-quadrants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bresenham-s-line-algorithm-for-all-quadrants

Complete Implementation of Bresenhams Line drawing algorithm in openGL taking input from user on mouse clicks and working for all four quadradants.

To view code download Bresenhams.c file

Use the follwing line to run C program: gcc Bresenhams.c -lglut -lGLU -lGL

you can choose two points to draw line by clicking through mouse on screen

Output will appear like below

output

About

Complete Implementation of Bresenhams Line drawing algorithm in openGL taking input from user on mouse clicks and working for all for quadradants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages