openGJK/examples/cython/openGJK_cython.pxd

15 lines
251 B
Cython
Raw Normal View History

2020-05-21 08:26:38 -07:00
# 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)