xphysics is an experimental rigid body physics library for use in scientific simulations and games.
The goal of this project is to understand how data-oriented program design principles can be applied to a project where multiple data processing in bulk is crucial. I chose to use C++ for this project as a sort of middle ground between C and other high-level languages.
Work-in-progress, not production ready.
- Implement unit tests for math primitives
- Implement stable API
- Use the convex hull as the primary collision detection primitive
- Implement broadphase collision detection
- Write physics unit tests
- Implement island generation
Currently only math unit tests are present.
.\build\Debug\xp_test_math.exe ; echo $LastExitCodeIf this command returns 0, it means all tests passed. Otherwise, it returns the index of the test that failed.