recover pxd - good setup for library

fixes-turtlebasket
Mattia Montanari 2020-05-21 16:26:38 +01:00
parent 1c447f6f6e
commit ea94e24da4
2 changed files with 14 additions and 1 deletions

View File

@ -1 +0,0 @@
#error Do not use this file, it is the result of a failed Cython compilation.

14
openGJK_cython.pxd Normal file
View File

@ -0,0 +1,14 @@
# Declare C function and data types
cdef extern from "openGJK.h":
struct bd:
int numpoints
double s[3]
double ** coord
struct simplex:
int nvrtx
double vrtx[4][3]
int wids[4]
double lambdas[4]
double gjk(bd bd1, bd bd2, simplex *s)