Skip to content

Naakinn/3D-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hvat?

This is a basic 3D engine implemented in C and C++. It works with OpenGL Graphics API and uses Glad loader.

System API(creating windows, etc.) comes with SDL2 library.

Why?

For educational purpose. Also I found myself fond of 3D graphics and think I will be working in this subject later.

Dependencies

  • GLM

    Or

    • Locally

      Just clone git repository of glm and put glm directory inside engine's include directory

      cd path/to/glm
      mv glm path/to/project/include
      
  • SDL2

Build

$ cmake -B build
$ cmake --build build 

Build in debug mode

$ cmake -B build -DDEBUG=ON
$ cmake --build build 

Run

$ ./engine