draco icon indicating copy to clipboard operation
draco copied to clipboard

C-API for FFI

Open SirVer opened this issue 5 years ago • 2 comments

I'd like to use draco in https://github.com/googlecartographer/point_cloud_viewer, but I am not using C++. Binding to the library would be much easier if there was a minimal C-API. This would also allow to use the library easily from Python.

Is it feasible to add a (minimal) C-API, tailored for FFI?

SirVer avatar Sep 25 '18 20:09 SirVer

Hello, I'm currently making a draco binding for Rust and a C binding would help me trememdously. I'm sure that it would help with many other similar projects too, such as a Python binding and C game engines.

AlexApps99 avatar May 18 '20 03:05 AlexApps99

I would also be very helpful for Go interop. I´m specially interested to support draco compression in https://github.com/qmuntal/gltf.

This issue is marked as help wanted, so I will give it a try during the following weeks.

qmuntal avatar Dec 06 '20 20:12 qmuntal