This crate hasn't seen any activity in a while so this updates several things at once because I am too lazy to split it into multiple PRs.
Replaces failure with thiserror, though the argument could be made that the errors are so simple we could just not have thiserror. Resolves #25
Fixes several cases where immutable slices were turned into mutable pointers to be passed to meshopt which is obviously super dangerous. Resolves #24
Updates all dependencies. Most of them are purely for dev, but still nice to have. This also includes the underlying meshopt lib. Resolves #23
Updates to the 2021 edition. This is still fairly new, but might as well!
Adds library wide clippy lints, and fixes all of the existing lints across the library.
Fixed a bug in the demo example where Triangle::cmp was comparing the pointer addresses, not the actual contents.
The update to the meshopt lib only fixes the APIs that have changed, but there are also several new API functions that can be covered in a separate PR.
This crate hasn't seen any activity in a while so this updates several things at once because I am too lazy to split it into multiple PRs.
failure
withthiserror
, though the argument could be made that the errors are so simple we could just not have thiserror. Resolves #25Triangle::cmp
was comparing the pointer addresses, not the actual contents.The update to the meshopt lib only fixes the APIs that have changed, but there are also several new API functions that can be covered in a separate PR.