Simulation
A set of physics simulations.
Dependencies
- GLFW3
- Dear ImGui (embedded)
- GLM (embedded)
Targets
- Native OpenGL ES3
- HTML5 + WebGL2 (emscripten)
Cloning
git clone --recursive
Compiling
Native:
mkdir build && cd build
cmake ..
make
./simulation
HTML5:
source path/to/emsdk_env.sh
mkdir build-web && cd build-web
emcmake cmake ..
emmake make
emrun --serve_after_close simulation.html