FreeBSD Ports

math/libccd 2.1

Library for collision detection between two convex shapes

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
70f20d6d43
License
BSD3CLAUSE
Categories
math
Package size
23.7 KiB, 57.7 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.

Install

As a binary package — by origin, or by package name:

pkg install math/libccd
pkg install libccd

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libccd>0:math/libccd
LIB_DEPENDS=	libccd.so:math/libccd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.12.12.12.12.1
FreeBSD:14:quarterly2.12.1n/a2.12.1
FreeBSD:15:latest2.12.1n/a2.12.1
FreeBSD:15:quarterly2.12.1n/an/an/a
FreeBSD:16:latest2.12.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 15

Configuration

Options name: math_libccd

OptionDefaultDescription
DOUBLE_PECISIONoffEnable double precision computations
USES
cmake
Service scripts
none

Files

pkg-plist 14
  • include/ccd/ccd.h
  • include/ccd/ccd_export.h
  • include/ccd/compiler.h
  • include/ccd/config.h
  • include/ccd/quat.h
  • include/ccd/vec3.h
  • lib/ccd/ccd-config-version.cmake
  • lib/ccd/ccd-config.cmake
  • lib/ccd/ccd-targets-.cmake
  • lib/ccd/ccd-targets.cmake
  • lib/libccd.so
  • lib/libccd.so.2
  • lib/libccd.so.2.0
  • libdata/pkgconfig/ccd.pc
distinfo 1
FileSizeSHA256
danfis-libccd-v2.1_GH0.tar.gz73971542b6c47f522d581fbf39e51df32c7d1256ac0c626e7c2b41f1040d4b9d50d1e

Commit history 1

DateCommitCreditsLog message
70f20d6d43 Yuri Victorovich */*: CMake 4 compatibility
PR: 295319