Cargo Features
[dependencies]
bevy_mikktspace = { version = "0.17.0-dev", default-features = false, features = ["std", "corrected-edge-sorting", "corrected-vertex-welding"] }
This space is intentionally left blank
- default = std
-
The
stdfeature is set by default wheneverbevy_mikktspaceis added withoutsomewhere in the dependency tree.default-features = false - std default
- corrected-edge-sorting
-
The below features will cause the resulting values to differ from the original C implementation.
Corrects a sorting bug in the original C implementation. See https://github.com/mmikk/MikkTSpace/issues/5 for details
- corrected-vertex-welding
-
Uses a BTreeMap to weld vertices which is guaranteed to use the smallest vertex indices. This handles
NaNvalues differently to the C implementation, so will produce different results for poor geometry. For typical geometry, this should produce identical results.