Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.42 KB

README.md

File metadata and controls

17 lines (14 loc) · 1.42 KB

#learnopengl This repository contains some interesting OpenGL experiments I have done a few years ago in OpenGL 2.0 and just exported from Google Code. It's simply a backup and very unlikely to be updated.

Curves

Bezier Spline and Cubic Spline are implemented in curves folder. To compile from the source on Linux, useg++ -DBEZIER -o bin *.cpp -lglut -lGL -lGLU for Bezier and g++ -o bin *.cpp -lglut -lGL -lGLU for Cubic Spline.

Bezier spline

bezier

Cubic spline

cubic

Polygon Filling Algorithm

Polygon Filling Algorithm is placed in polygon folder. Don't forget to link glut and GL when compile. poly

Clipping

Clipping of line is implemented in cutLine folder.

cutline