The Physics engine that accompanies the book "Game Physics Engine Development" by Ian Millington. This version uses a modern conan/cmake based build system and should build out of the box on Windows and Linux systems.
The tag v1.0 (branch release/v1.0) represents a mostly untouched original code base with a modern build system. It was tested (built and ran all demos) on Windows 10 and Linux Ubuntu 22.04. The Ballistics and BigBallistics demo have issues firing the balls on Linux but everything else builds and works as expected. Any development beyond this tag will be more intrusive.
Development is done with
- Conan 2.x
- CMake 3.27.x
- Windows: Visual Studio 2022 Community Edition
- Linux: Make
Conan install for debug and release builds
conan install . --build=missing --settings=build_type=Debug
conan install . --build=missing --settings=build_type=Release
CMake project generation
On Windows
cmake --preset conan-default
On Linux
cmake --preset conan-debug
cmake --preset conan-release
On Windows, open the generated solution file in the build folder. On Linux use
cmake --build build/Debug
cmake --build build/Release