math/libccd 2.1 MidnightBSD
Library for collision detection between two convex shapes
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- math
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 |
|---|---|---|
| MidnightBSD | math/libccd | 2.1 |
| FreeBSD | math/libccd | 2.1 |
| DragonFly | math/libccd | 2.1 |
Install
Binary package:
mport install libccd
From mports:
cd /usr/mports/math/libccd && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libccd>0:math/libccd
Dependencies
Required by 1
Configuration
Options name: math_libccd
| Option | Default | Description |
|---|---|---|
| DOUBLE_PRECISION | off | Enable double precision computations |
- USES
- cmake
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| danfis-libccd-v2.1_GH0.tar.gz | 73971 | 542b6c47f522d581fbf39e51df32c7d1256ac0c626e7c2b41f1040d4b9d50d1e |