math/libccd 2.1 DragonFly
Library for collision detection between two convex shapes
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- math
- Package size
- 24.9 KiB, 67.0 KiB installed
Description
libccd is library for a collision detection between two convex shapes. libccd implements variation on Gilbert-Johnson-Keerthi algorithm plus Expand Polytope Algorithm (EPA) and also implements algorithm Minkowski Portal Refinement (MPR, a.k.a. XenoCollide) as described in Game Programming Gems 7.
libccd is the only available open source library of my knowledge that include MPR algorithm working in 3-D space. However, there is a library called mpr2d, implemented in D programming language, that works in 2-D space.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | math/libccd | 2.1 |
| FreeBSD | math/libccd | 2.1 |
| MidnightBSD | math/libccd | 2.1 |
| HardenedBSD | math/libccd | 2.1 |
| GhostBSD | math/libccd | 2.1 |
Install
Binary package:
pkg install libccd
From DPorts:
cd /usr/dports/math/libccd && make install clean