A small physics simulation in c++, using sokol for rendering. Project to learn c++ and gpu stuff.
- C++ 96.7%
- Makefile 1.9%
- GLSL 1.4%
| include | ||
| src | ||
| tools | ||
| .clangd | ||
| .gitattributes | ||
| .gitignore | ||
| draw.cpp | ||
| draw.hpp | ||
| game.hpp | ||
| main.cpp | ||
| Makefile | ||
| README.md | ||
| shader.glsl | ||
ballpit
A small physics simulation in c++, using sokol for rendering. Project to learn c++ and gpu stuff.
TODO
- ball
- box
- polygon
- hinge joint
- slide joint
- distance joint
- fixed joint
- gear joint
- velocity motor
- angle limits
- pd controller
- spring
- continuous collision detection
- islands/sleeping