BSD Ports

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

SystemPortVersion
DragonFlymath/libccd2.1
FreeBSDmath/libccd2.1
MidnightBSDmath/libccd2.1
HardenedBSDmath/libccd2.1
GhostBSDmath/libccd2.1

Install

Binary package:

pkg install libccd

From DPorts:

cd /usr/dports/math/libccd && make install clean

Dependencies