recover pxd - good setup for library
This commit is contained in:
@@ -1 +0,0 @@
|
||||
#error Do not use this file, it is the result of a failed Cython compilation.
|
||||
14
openGJK_cython.pxd
Normal file
14
openGJK_cython.pxd
Normal 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)
|
||||
Reference in New Issue
Block a user