Skip to content

2110479-Computer-Graphics/glfw-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLFW Starter

This is a simple GLFW starter project that sets up a window and prepares for rendering with OpenGL.

Pre-requisites

This project requires the following libraries:

Libraries Installation

To install GLAD, you can use the link to generate the necessary files. Make sure to place the generated files in the include/glad directory.

Installing GLFW can be done through your package manager or by downloading it from the GLFW website.

Project Structure

.
├── CMakeLists.txt
├── Makefile
├── README.md
├── include
│   ├── KHR
│   │   └── khrplatform.h
│   └── glad
│       ├── glad.c
│       └── glad.h
└── src
    ├── handler
    │   ├── initializer.hpp
    │   └── shader.hpp
    ├── main.cpp
    └── shader
        ├── fragment_shader.glsl
        └── vertex_shader.glsl

Building and Running the Project

Since we provide a Makefile, you can build the project using the following command:

make build

This will create a build directory and compile the project. You can then run the executable with:

make run

If you want to clean the build files, you can use:

make clean

If you want to rebuild the project, you can use:

make rebuild

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published