Skip to content

Naakinn/3D-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

Highly beta, PRs are welcome.

Hvat?

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

How does it create a window? SDL2 library.

Dependencies

Build

Firstly, clone the repository and initialize submodules(dependencies, like cglm).

$ git clone --recurse-submodules https://github.com/Naakinn/3D-Engine

Then build and run.

$ make
$./engine

Build in debug mode or in release mode

$ make
# or 
$ make release

Features

  1. Add textures, example texture can be found here.

Warning

This feature is not implemented yet))) coming soon.

$ ./engine -t texture.jpg

Contributing

  1. You may want to create a .tar.gz binary using make package.
  2. You can format entire progect(except src/glad.c file, which is autogenerated) with make format