Warning
Highly beta, PRs are welcome.
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.
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
$ make
# or
$ make release
- Add textures, example texture can be found here.
Warning
This feature is not implemented yet))) coming soon.
$ ./engine -t texture.jpg
- You may want to create a .tar.gz binary using
make package
. - You can format entire progect(except src/glad.c file, which is autogenerated) with
make format