mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2025-04-22 19:07:15 -04:00
23 lines
780 B
Markdown
23 lines
780 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.
|
|
|
|
# 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
|