danfis / libccd

Library for collision detection between two convex shapes
Other
478 stars 108 forks source link

Example from the 'GJK - Intersection Test' section fails #52

Closed yurivict closed 5 years ago

yurivict commented 5 years ago

https://github.com/danfis/libccd/blob/master/doc/examples.rst

$ cc -o example example.c `pkg-config --cflags --libs ccd`
ex.c:11:5: error: use of undeclared identifier 'obj_t'
    obj_t *obj = (obj_t *)_obj;
    ^
ex.c:11:26: error: expected expression
    obj_t *obj = (obj_t *)_obj;
                         ^
yurivict commented 5 years ago

I see now that this is a skeleton program.