simple-rigid-sim/README.md
2020-05-20 11:58:33 -04:00

24 lines
913 B
Markdown

# Simple Physics
This is a largely physics/math based project that was created for a school project. It is a rendering engine built on OpenGL and
SDL that can simulate how rigid bodies interact with each other under gravity.
Currently due to time limitations on the project I didn't have enouh time to make a full 3D pipeline, so its currently a 2D engine.
# Building
Building this project requires OpenGL and SDL2 to be installed on your computer. A graphics card is recommended, but not necessary.
By default the [Makefile](./Makefile) is configured to compile with clang. But can be configured to use another compiler by modifying the value at line 1.
Example:
`CC = clang` => `CC = gcc`
### Project Sources
These were used to learn how to use OpenGL:
https://learnopengl.com/
https://lazyfoo.net/tutorials/OpenGL/index.php
https://www.khronos.org/registry/OpenGL/index_gl.php