mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
New port: math/libccd: Library for collision detection between two convex shapes
This commit is contained in:
@@ -313,6 +313,7 @@
|
||||
SUBDIR += lean
|
||||
SUBDIR += levmar
|
||||
SUBDIR += libRmath
|
||||
SUBDIR += libccd
|
||||
SUBDIR += libflame
|
||||
SUBDIR += liblbfgs
|
||||
SUBDIR += libmesh
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libccd
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0-49
|
||||
DISTVERSIONSUFFIX= -g63d3a91
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Library for collision detection between two convex shapes
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/BSD-LICENSE
|
||||
|
||||
USES= cmake:outsource
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= danfis
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DOUBLE_PECISION
|
||||
|
||||
DOUBLE_PECISION_DESC= Enable double precision computations
|
||||
DOUBLE_PECISION_CMAKE_BOOL= ENABLE_DOUBLE_PRECISION
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1542689250
|
||||
SHA256 (danfis-libccd-v2.0-49-g63d3a91_GH0.tar.gz) = f494395baa3bba6eb815d163f69ee94b07bb8ab2c0df77a6bbf9f51883128351
|
||||
SIZE (danfis-libccd-v2.0-49-g63d3a91_GH0.tar.gz) = 73675
|
||||
@@ -0,0 +1,8 @@
|
||||
--- CMakeLists.txt.orig 2018-11-20 04:50:23 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -72,4 +72,4 @@ configure_file(ccd.pc.in ccd.pc @ONLY)
|
||||
install(FILES "${CMAKE_BINARY_DIR}/ccd.pc"
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
|
||||
-install(FILES BSD-LICENSE DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/ccd")
|
||||
+#install(FILES BSD-LICENSE DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/ccd")
|
||||
@@ -0,0 +1,10 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/danfis/libccd
|
||||
@@ -0,0 +1,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_BUILD_TYPE%%.cmake
|
||||
lib/ccd/ccd-targets.cmake
|
||||
lib/libccd.so
|
||||
lib/libccd.so.2
|
||||
lib/libccd.so.2.0
|
||||
libdata/pkgconfig/ccd.pc
|
||||
Reference in New Issue
Block a user