Skip to content

Masonlet/LearningOpenGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LearningOpenGL

A repository to better understand and explain OpenGL. This project uses GLFW for windowing and GLAD for OpenGL function loading.

Branches and Tags

Branches are used to demonstrate specific OpenGL concepts as major steps (0.1, 0.2).
Tags mark smaller improvements or refactors inside those branches (0.1.1, 0.1.2).

Building the Project

This project uses CMake. Follow these steps to build:

1. Clone the Repository

git clone https://github.com/Masonlet/LearningOpenGL.git cd LearningOpenGL

2. Create a Build Directory and Generate Build Files

mkdir build cd build cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..

-DCMAKE_EXPORT_COMPILE_COMMANDS=ON flag generates a compile_commands.json file
Can be safely omitted on Windows if you're using Visual Studio

3. Build the Project

  • Linux:

    make
  • Windows:

    cmake --build .

    Or open the generated .sln file in Visual Studio and build the solution.

About

A repository for learning the OpenGL API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published