Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 439 Bytes

README.rst

File metadata and controls

23 lines (16 loc) · 439 Bytes

Line rasterization

Simple OpenGl program implementing Bresenham’s line algorithm. For more information see docs folder.

Functionality

  • Using mouse to paint real line in OpenGl space
  • Rasterization using float and integer algorythms
  • Comparing algoritms speed

Compilation

Libraries
  • OpenGl
  • Free GLUT

To compile program:

gcc src/main.c -lGL -lGLU -lglut -o U1Aurelijus