https://github.com/7244/bcol
collision/physics library
https://github.com/7244/bcol
Last synced: about 1 month ago
JSON representation
collision/physics library
- Host: GitHub
- URL: https://github.com/7244/bcol
- Owner: 7244
- License: mit
- Created: 2023-11-14T13:00:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-09T15:38:12.000Z (12 months ago)
- Last Synced: 2025-10-28T13:33:36.059Z (9 months ago)
- Language: C
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Buildable COllision Library
[](LICENSE)
BCOL is physics/collision library. Mainly made for fast realtime tick based collisions.
## Features
- Low SLOC and memory usage. Currently 2301 SLOC.
- No hardcoded dimension. It can run any dimension based on `BCOL_set_Dimension` define. (only 2 and 3 is tested)
- grid, rectangle, circle collisions.
- Raycast (visual solve)
- Raycast can use embree or slow native implement. (embree is only supported if `BCOL_set_Dimension` is 3)
## This library only receives improvements for specific needs.
### Depends On
* https://github.com/6413/fan (or fan style vector library)
* https://github.com/7244/BVEC
* https://github.com/7244/BLL
#### Demo that uses BCOL collisions and raycast capability for render same time
[![a]()](https://github.com/7244/BCOL/assets/123005911/3f4df4d0-dd90-463f-8cfa-45539f6584f3)
### Developers
* [github.com/7244](https://github.com/7244) - main design, algorithms, suffering
* [github.com/6413](https://github.com/6413) - fan, math formulas
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.