gwihlidal / meshopt-rs

Rust ffi and idiomatic wrapper for zeux/meshoptimizer, a mesh optimization library that makes indexed meshes more GPU-friendly.
Apache License 2.0
163 stars 33 forks source link

Update bindings and add options parameter to `simplify()` #32

Closed oisyn closed 9 months ago

oisyn commented 1 year ago

It seems the bindings were a bit out of date, meshopt_simplify() now has an options parameter. I've updated the bindings and added the parameter to the Rust interface.

Uriopass commented 9 months ago

I believe this got superseded by https://github.com/gwihlidal/meshopt-rs/pull/29

However you're using bitflags instead of a plain u32 like that other PR. I like the bitflags as the API is more explicit. I'll incorporate that before releasing