- DDA Line Algorithm using OpenGL. The code is here.
- Mid Point Line Algorithm using OpenGL. The code is here.
- Bresenham Line Drawing Algorithm using OpenGL. The code is here.
- Mid Point Circle Algorithm using OpenGL. The code is here.
- Find the code here.
- Find the code here.
- Download and install
codeblocks-20.03mingw-setup.exe
from here. - Download this GLUT file.
- Extract the file using WinRAR or another unzipper software.
- Copy
glut.h
and paste it insideC:\Program Files\CodeBlocks\MinGW\include\GL
- Copy
glut32.lib
and paste it insideC:\Program Files\CodeBlocks\MinGW\lib
- Copy
glut32.dll
and paste it insideC:\Windows\SysWOW64
- Create a new project in CodeBlocks and select the GLUT project. Give a name to your project.
- Select the GLUT location as
C:\Program Files\CodeBlocks\MinGW
- Download the MinGW downloader from here.
- Install the basic package of MinGW and add the location
C:\MinGW\bin
to the Environment Variable path. - Download and install
codeblocks-20.03mingw-setup.exe
from here. - Download this GLUT file.
- Extract the file using WinRAR or another unzipper software.
- Copy
glut.h
and paste it insideC:\MinGW\include\GL
- Copy
glut32.lib
and paste it insideC:\MinGW\lib
- Copy
glut32.dll
and paste it insideC:\Windows\SysWOW64
- Create a new project in CodeBlocks and select the GLUT project. Give a name to your project.
- Select the GLUT location as
C:\MinGW